fix hard-coded results number
Merge branch 'BS-2037' of https://github.com/bonitasoft/bonita-web into BS-2037