CB9TOIIIA / chromemilk

Automatically exported from code.google.com/p/chromemilk
0 stars 0 forks source link

Problem using OR custom queries (fix included) #11

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I had a problem using an OR in my custom query and discovered it was because 
I lacked surrounding ()s. I quickly found the bug in the source on line 172 
of rtm.js which reads:
if (cus_filter != '') params.filter = filter + ' AND ' + cus_filter;

Quick fix is
if (cus_filter != '') params.filter = filter + ' AND (' + cus_filter + ')';

Original issue reported on code.google.com by downin...@gmail.com on 22 Jan 2010 at 7:03

GoogleCodeExporter commented 8 years ago
Thanks! I'll add this fix in the next version.

Original comment by limited.mage on 22 Jan 2010 at 7:55

GoogleCodeExporter commented 8 years ago

Original comment by limited.mage on 3 Feb 2010 at 12:29

GoogleCodeExporter commented 8 years ago
Fixed for 0.9.6.

Original comment by limited.mage on 11 Mar 2010 at 8:49