Closed vlad-ghita closed 8 years ago
Update:
Found the issue. SymQL calls buildDSRetrievalSQL()
On line 198 and Entry Order
implements the deprecated version buildDSRetrivalSQL()
... This is an Order Entries issue.
I noticed latest Order Entries has fixed this.
Ah good spot, yes. In fact SymQL should throw an exception if you try to filter on an invalid field, but the check itself still looks for the old method name! So you did actually discover a SymQL bug after all :-)
https://github.com/nickdunn/symql/blob/master/lib/class.symql.php#L168
I have this query (
sort-order
field is of typeentry_order
):It will not return any results because the filters are messed-up in SymQL processing. On line 226 right before fetching entries,
$where
variable has this value:when this is expected (
entry_order
field filtering SQL):Any ideas?