ECMS-6444 : fix pagination problems in search

indent