When you create a filter using the IN operator, if you use uppercase, it doesn't work:

Person.all().filter( 'name', 'IN', [ "bob", "joe" ]) => Empty dataset

Person.all().filter( 'name', 'in', [ "bob", "joe" ]) => X records

I think it's just a matter of changing line 1297 in persistence.js (the initializer for PropertyFilter to read:

this.operator = operator.toLowerCase();

Ruy

Submitted on 20 October 2010 at 05:04

On 20 October 2010 at 09:26 Zef Hemel closed this issue.

On 20 October 2010 at 09:26 Zef Hemel commented:

Thanks, fixed it in the current update.

Log in to post comments