Skip to content

Commit

Permalink
Squashed commit of the following:
Browse files Browse the repository at this point in the history
commit 1d5ca6050b3255008d7977c4076dd5644184d377
Author: Roman Kysil <[email protected]>
Date:   Thu Nov 28 09:41:46 2024 +0100

    Changelog

commit c0e0eea
Author: Roman Kysil <[email protected]>
Date:   Thu Nov 28 09:36:52 2024 +0100

    Fix export
  • Loading branch information
folix-01 committed Nov 28, 2024
1 parent 7666f55 commit 4b3a6aa
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ Changelog
2.8.3 (unreleased)
------------------

- Nothing changed yet.
- @bookings-export filters hotfix.
[folix-01]


2.8.2 (2024-11-27)
Expand Down
5 changes: 3 additions & 2 deletions src/redturtle/prenotazioni/browser/bookings_export.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,6 @@ def brains(self):
portal_type="Prenotazione",
review_state="confirmed",
sort_on="Date",
path=self.path and {"query": self.path} or "",
created=created,
)

if created:
Expand All @@ -107,6 +105,9 @@ def brains(self):
if date:
query["Date"] = date

if self.path:
query["path"] = self.path

return api.portal.get_tool("portal_catalog").unrestrictedSearchResults(**query)

def setHeader(self, *args):
Expand Down

0 comments on commit 4b3a6aa

Please sign in to comment.