Non-binding condition gets quoted
Non-binding condition gets quoted
Alain Albertini
Posts: 3Questions: 1Answers: 0
Hi,
It seems that when I try to build a non-binding "where" condition, the value still gets quoted, which prevents anything like the example from working:
https://editor.datatables.net/manual/php/conditions#Binding-submitted-data
This will generate a error indicating "unknown column 'xxx' in where clause.
Modifying Query.php at line 1056 for the following seems to fix it:
'query' => $this->_protect_identifiers($key) .' '. $op .' '. $value
This discussion has been closed.