Skip to content
This repository has been archived by the owner on Sep 5, 2019. It is now read-only.

Commit

Permalink
Fixes unreserved allocations showing associated tickets
Browse files Browse the repository at this point in the history
  • Loading branch information
Denis Krienbühl committed May 11, 2016
1 parent fef3e3c commit 1f5e40c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions onegov/town/models/ticket.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,8 @@ def handle_extra_parameters(cls, session, query, extra_parameters):

if handler_ids:
query = query.filter(Ticket.handler_id.in_(handler_ids))
else:
query = query.filter(False)

return query

Expand Down

0 comments on commit 1f5e40c

Please sign in to comment.