Skip to content

Commit

Permalink
fix portlets with the new reverse setting
Browse files Browse the repository at this point in the history
  • Loading branch information
petschki committed Mar 25, 2022
1 parent 7ac6d13 commit 5640216
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/collective/collectionfilter/portlets/collectionfilter.py
Original file line number Diff line number Diff line change
Expand Up @@ -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__(
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 5640216

Please sign in to comment.