Ignition treats parameter value in WHERE clause as a literal, not a string

@szcz, please post formatted code - not pictures of code. Then we can copy an edit in our answers and / or test environment.