mirror of
https://github.com/rr-/szurubooru.git
synced 2025-07-17 08:26:24 +00:00
server/search: fix caching special tokens
special:liked was being reused between users. Now the cache internally caches object similar to liked:USER.
This commit is contained in:
@ -34,6 +34,7 @@ class Executor(object):
|
||||
'''
|
||||
|
||||
search_query = self.parser.parse(query_text)
|
||||
self.config.on_search_query_parsed(search_query)
|
||||
|
||||
key = (id(self.config), hash(search_query), page, page_size)
|
||||
if cache.has(key):
|
||||
|
Reference in New Issue
Block a user