[IMP] pms-api-rest: fix property, feeds, folio & dashboard services 4 dashboard

This commit is contained in:
miguelpadin
2023-11-07 16:52:41 +00:00
committed by Darío Lodeiros
parent 561f0c4b18
commit 381fa0f555
6 changed files with 101 additions and 14 deletions

View File

@@ -132,6 +132,13 @@ class PmsFolioService(Component):
domain_fields.append(("folio_id", "in", folio_ids))
domain_filter = list()
if folio_search_param.last:
domain_filter.append(
[
("checkin", ">=", fields.Date.today())
]
)
if folio_search_param.filter:
target = folio_search_param.filter
if "@" in target: