fnp
/
wolnelektury.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3926278
)
fixes #2953: pdcounter indexing error
author
Radek Czajka
<radek.czajka@gmail.com>
Thu, 10 Oct 2013 10:47:41 +0000
(12:47 +0200)
committer
Radek Czajka
<radek.czajka@gmail.com>
Thu, 10 Oct 2013 10:47:41 +0000
(12:47 +0200)
apps/search/index.py
patch
|
blob
|
history
diff --git
a/apps/search/index.py
b/apps/search/index.py
index
85bcb61
..
f9a3c89
100644
(file)
--- 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)