From 56402163454809df8c83cb6adb216eb87f096792 Mon Sep 17 00:00:00 2001 From: Peter Mathis Date: Fri, 25 Mar 2022 10:01:59 +0100 Subject: [PATCH] fix portlets with the new reverse setting --- src/collective/collectionfilter/portlets/collectionfilter.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/collective/collectionfilter/portlets/collectionfilter.py b/src/collective/collectionfilter/portlets/collectionfilter.py index 9301d4d9..9d37c607 100644 --- a/src/collective/collectionfilter/portlets/collectionfilter.py +++ b/src/collective/collectionfilter/portlets/collectionfilter.py @@ -28,6 +28,7 @@ class Assignment(base.Assignment): view_name = None content_selector = "#content-core" hide_if_empty = False + reverse = False # list_scaling = None def __init__( @@ -43,6 +44,7 @@ def __init__( view_name=None, content_selector="#content-core", hide_if_empty=False, + reverse=False, # list_scaling=None ): self.header = header @@ -56,6 +58,7 @@ def __init__( self.view_name = view_name self.content_selector = content_selector self.hide_if_empty = hide_if_empty + self.reverse = hide_if_empty # self.list_scaling = list_scaling @property