Merge pull request #3060 from quay/max-results-help-text

Configurable options for search, disable next page & add help text when at max results
This commit is contained in:
Sam Chow 2018-04-25 08:17:35 -07:00 committed by GitHub
commit f89ad30320
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 50 additions and 9 deletions

View file

@ -167,6 +167,16 @@ CONFIG_SCHEMA = {
},
],
},
'SEARCH_RESULTS_PER_PAGE' : {
'type': 'number',
'description': 'Number of results returned per page by search page. Defaults to 10',
'x-example': 10,
},
'SEARCH_MAX_RESULT_PAGE_COUNT' : {
'type': 'number',
'description': 'Maximum number of pages the user can paginate in search before they are limited. Defaults to 10',
'x-example': 10,
},
# E-mail.
'FEATURE_MAILING': {