improve ticket change hints in custom query
|Reported by:||Owned by:|
Steps to reproduce:
- query tickets owned by user A and B group by owner
- reassign one ticket found in step 1 to user C
- query tickets owned by user A and B again, with the same constraint as in step 1
tickets are shown group by user A and B
user C with the ticket just assigned to him shown too.
After a quick look at the source code, found it's the cached "query_tickets" session attribute caused the issue. If query constraints keep the same but ticket changed within time delta, query result may be wrong.