--- a/src/pyams_default_theme/features/search/portlet/__init__.py Tue Nov 27 08:53:12 2018 +0100
+++ b/src/pyams_default_theme/features/search/portlet/__init__.py Tue Nov 27 13:33:17 2018 +0100
@@ -53,6 +53,12 @@
settings_interface = ISearchResultsPortletDefaultRendererSettings
+ def update(self):
+ settings = self.renderer_settings
+ if not settings.allow_pagination:
+ self.request.GET['length'] = '999'
+ super(SearchResultsPortletDefaultRenderer, self).update()
+
@adapter_config(context=(ILocation, IPyAMSUserLayer, ISearchResultsView), provides=IBreadcrumbs)
class BreadcrumbsAdapter(NullAdapter):