fix on front : pagination didn't take into account categories