DEV: Add hidden site setting to control search page size (#21640)
This commit is contained in:
parent
f8ee839bfb
commit
96e3c5e102
|
@ -2288,6 +2288,9 @@ search:
|
|||
default: 1.2
|
||||
hidden: true
|
||||
validator: "CategorySearchPriorityWeightsValidator"
|
||||
search_page_size:
|
||||
default: 50
|
||||
hidden: true
|
||||
|
||||
uncategorized:
|
||||
version_checks:
|
||||
|
|
|
@ -20,7 +20,7 @@ class Search
|
|||
end
|
||||
|
||||
def self.per_filter
|
||||
50
|
||||
SiteSetting.search_page_size
|
||||
end
|
||||
|
||||
def self.facets
|
||||
|
|
Loading…
Reference in New Issue