Hey everyone!
I'm dealing with a problem on my grid filter functions. I'm using the DataSourceResults class for PHP to work with an MySQL table.
Sorting and Filtering is actually working fine exept for values above 999. The array that gets send to my server looks as the following:
Where cID is defined as an smallint(6) unsigned in my database. If I query the SQL statement:
I get the right result. Funny thing, everything between 0 and 999 is also working!
What did I miss?
Thank you very much!
I'm dealing with a problem on my grid filter functions. I'm using the DataSourceResults class for PHP to work with an MySQL table.
Sorting and Filtering is actually working fine exept for values above 999. The array that gets send to my server looks as the following:
Array
(
[callback] => jQuery110007109804890166557_1369760652926
[take] => 5
[skip] => 0
[page] => 1
[pageSize] => 5
[filter] => Array
(
[filters] => Array
(
[0] => Array
(
[field] => cID
[operator] => eq
[value] => 1000
)
)
[logic] => and
)
[_] => 1369760652934
)
jQuery110007109804890166557_1369760652926({"total":0,"data":[]})
Select
cID
from
ticketing_index
WHERE
cID =
'1000'
What did I miss?
Thank you very much!