bug #1680 Fix smallint & integer in Search/QueryBuilder (VolCh)
bug #1680 Fix smallint & integer in Search/QueryBuilder (VolCh)

This PR was merged into the 1.16.x-dev branch.

Discussion
----------

Fix smallint & integer in Search/QueryBuilder

1. PHP_INT_MAX is 9223372036854775807 on 64-bit system, so use it is useless with PostgreSQL integers
2. integer values not symmetric, so use abs($searchQuery()) leads to loss -32768 & -2147483648 that are often used like magic least marker

<!-- Note: all your contributions adhere implicitly to the MIT license -->

Commits
-------

089382b Fix smallint & integer in Search/QueryBuilder

javiereguiluz/EasyAdminBundle,yceruto/EasyAdminBundle,javiereguiluz/EasyAdminBundle,OskarStark/EasyAdminBundle,OskarStark/EasyAdminBundle,OskarStark/EasyAdminBundle,yceruto/EasyAdminBundle,yceruto/EasyAdminBundle