Home
TeamSite
Restrict Items Per Page
rregev
Hi,
I would like to restrict or limit the number of results displayed when performing a search. Ideally i would like to remove the "All" and "200" option from the Items Per Page drop down list.
Another option i would like to explore is to set a predetermined amount of results per page which users could not change.
I believe this might be possible by adding one or more of the following variables to the constants.asp page but im not certain:
c_PagingArrayPageSizes
c_PagingArrayPageSizesVals
c_PagingDefaultPageSize
Any thoughts?
Thanks,
Ronnie Regev
Find more posts tagged with
Comments
msrinivas
What version of MB?
rregev
Mb 4.6 B25
msrinivas
Looks like you are on the right track.
Migrateduser
The values you choose for the constants you site will apply to both search results and folder browsing. If that is sufficient, follow the instructions in the asp file.
You cannot hide the max number of search results to return without editing the asp code.