Allow sorting by number of comments
This commit is contained in:
parent
87ff71d4af
commit
5ee6052e48
|
@ -107,6 +107,7 @@ def apply_search(query, search_string, current_user):
|
|||
return apply_sort(query, sort_terms, {
|
||||
"created": Ticket.created,
|
||||
"updated": Ticket.updated,
|
||||
"comments": Ticket.comment_count,
|
||||
})
|
||||
|
||||
def find_usernames(query, limit=20):
|
||||
|
|
Loading…
Reference in New Issue