You are using STRINGS for comparisons = BAD IDEA!!!
You must use NUMBERS!!!
Your DB-FIELD must be a NUMBER-FIELD not a STRING-FIELD!
This is also why you get troubles!
NUMBER is not = STRING !
This is what i was talking about just right from the beginning.
Change your DB-FIELD -->price<-- into a NUMBER-FIELD, then everything will work like it should.
The “$” sign can be added by code.
WRONG —> . le ( ‘price’ , ‘10000’ )
RIGHT ------> . le ( ‘price’ , 10000 )