DeuxHuitHuit / multilingual_field

Multilingual Textbox field for Symphony CMS
http://symphonyextensions.com/extensions/multilingual_field/
Other
12 stars 13 forks source link

Fix filtering by isolating private $where. #37

Closed vlad-ghita closed 12 years ago

vlad-ghita commented 12 years ago

If I set a filter on a field (eg. checkbox), save the DS, then set a filter on Multilingual TB, an SQL error will be thrown because in current implementation of filtering the value and handle fields are replaced in the entire $where query.

This fix isolates the replacement to only the $where from the field, leaving the previous SQL intact.

Thanks!