wcs: add setting to change user forms retrieval API limit (#73278)
This commit is contained in:
parent
357295ca42
commit
a172e0a0bd
|
@ -510,7 +510,7 @@ class WcsCurrentFormsCell(CategoriesAndWcsSiteValidityMixin, CategoriesFiltering
|
|||
url += '&include-accessible=on'
|
||||
if self.include_drafts:
|
||||
url += '&include-drafts=on'
|
||||
url += '&limit=100&sort=desc'
|
||||
url += '&limit=%s&sort=desc' % settings.WCS_USER_FORMS_LIMIT
|
||||
return url
|
||||
|
||||
@property
|
||||
|
|
|
@ -325,6 +325,9 @@ COMBO_ASSET_SLOTS = {}
|
|||
# XXX deprecated
|
||||
WCS_CATEGORY_ASSET_SLOTS = {}
|
||||
|
||||
# maximum number of forms retrieved in user forms cell
|
||||
WCS_USER_FORMS_LIMIT = 100
|
||||
|
||||
# XXX deprecated
|
||||
WCS_FORM_ASSET_SLOTS = {}
|
||||
|
||||
|
|
Loading…
Reference in New Issue