Cool - if it all works, submit a merge request and I can take a better look at
it that way.
---
** [tickets:#8059] Ticket search's dropdown filter choices should not show
options from deleted tickets**
**Status:** open
**Milestone:** unreleased
**Created:** Mon Feb 22, 2016 11:16 PM UTC by
In class `Ticket`, I can add a class method
~~~
@classmethod
def not_deleted_query(cls,search_query):
"""Update search query to not include deleted tickets
search_query - query in solr syntax
"""
return search_query + ' && deleted: False'
~~~
Then, in
What about other pages like a search or when you click on a milestone? Those
run from different controllers than `index`. And admins have a "Show deleted
tickets" link, so we'll want that option to continue to work for them.
---
** [tickets:#8059] Ticket search's dropdown filter choices