DEV: Add hidden site setting to control search page size (#21640)

This commit is contained in:
Mark VanLandingham 2023-05-18 15:30:08 -05:00 committed by GitHub
parent f8ee839bfb
commit 96e3c5e102
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

@ -2288,6 +2288,9 @@ search:
default: 1.2
hidden: true
validator: "CategorySearchPriorityWeightsValidator"
search_page_size:
default: 50
hidden: true
uncategorized:
version_checks:

View File

@ -20,7 +20,7 @@ class Search
end
def self.per_filter
50
SiteSetting.search_page_size
end
def self.facets