get smart query removed

This commit is contained in:
2024-11-13 14:03:47 +03:00
parent 129e8015f3
commit 052d1f7b9c
17 changed files with 19 additions and 31 deletions

View File

@@ -37,9 +37,8 @@ class EventsListEventMethods(MethodToEvent):
token_dict: Union[EmployeeTokenObject, OccupantTokenObject],
):
Events.filter_attr = list_options
records = Events.filter_active(
*Events.get_smart_query(list_options.query),
Events.active == True,
records = Events.filter_all(
*Events.valid_record_args(Events)
)
return AlchemyJsonResponse(
completed=True,