Foren

Liferay Search Container Pagination issue

thumbnail
Raja Seth, geändert vor 11 Jahren.

Liferay Search Container Pagination issue

Regular Member Beiträge: 233 Beitrittsdatum: 18.08.11 Neueste Beiträge
Hi All,

In my project we are using Liferay OOTB search container.

As of now if there are more than 100 pages available and 1,2,3...25 are displaying that time when user clicks on 2-25 then also same numbers are displaying and user need to click on next. But when user clicks next and then select 26 from 25,26,27...50 sequence that time pagination is starting from 26 only. Same applies to all from 26-50.

We are using OOTB search container 2-3 places. Same issue is occurring everywhere.

Please help me out.

Thanks & Regards,
Raja
thumbnail
Rahul Pande, geändert vor 11 Jahren.

RE: Liferay Search Container Pagination issue

Expert Beiträge: 310 Beitrittsdatum: 07.07.10 Neueste Beiträge
Hi Raja,

Please have a look at this property

#
# Set the maximum number of pages available above and below the currently
# displayed page.
#
search.container.page.iterator.max.pages=25


HTH
Rahul
thumbnail
Raja Seth, geändert vor 11 Jahren.

RE: Liferay Search Container Pagination issue

Regular Member Beiträge: 233 Beitrittsdatum: 18.08.11 Neueste Beiträge
Hi Rahul,

Thanks for help bro. I have resolved the issue. Actually by default its behavior is like this. When we click on 26, its starting point becomes 26 same applies to when we click on 27. So we have created hook for pagination.

Thanks,
Raja