From: Radek Czajka Date: Thu, 10 Oct 2013 10:47:41 +0000 (+0200) Subject: fixes #2953: pdcounter indexing error X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/e7e2798ea8fafc6697d26f8ae6ebfc002723404b?ds=inline;hp=-c fixes #2953: pdcounter indexing error --- e7e2798ea8fafc6697d26f8ae6ebfc002723404b diff --git a/apps/search/index.py b/apps/search/index.py index 85bcb616d..f9a3c89ae 100644 --- a/apps/search/index.py +++ b/apps/search/index.py @@ -163,7 +163,7 @@ class Index(SolrIndex): q_id_cat = self.index.Q(q_id & q_cat) tag_qs.append(q_id_cat) - self.delete_query(tag_qs) + self.delete_query(*tag_qs) else: # all q = self.index.Q(tag_id__any=True) self.delete_query(q)