Provide a View All Button for Search Results
You can create a View All button for search results.
Create the resource messages for the View All link.
To the pagingcomponents.properties file, add a
pagecomponents.paging.viewall=View Allresource message.
In the pt_global.css, add a
.pagination li.viewallstyle. This can be the same as the
In the Search pipeline, click the Paging (bc_api) pipelet and change the value of the PageSize property to CurrentHttpParameterMap.sz.intValue. This causes the pipelet to derive the value of the paging size from the value passed into the pipeline if it's present. The name of the property is set by the PagingModel class AppendPaging method.
To the pagingbar.isml file, you need to add the following in the first <sscript>in the file:
After the next page control, add:
When you have made this change, you can't change the default paging size directly from the pipeline. Instead, you have to change the pageSize = 9 line in the pagingbar.isml file to the desired value.