fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Minor fixes in picture publishing process.
[wolnelektury.git]
/
apps
/
search
/
index.py
diff --git
a/apps/search/index.py
b/apps/search/index.py
index
7f8bf9f
..
31417ca
100644
(file)
--- a/
apps/search/index.py
+++ b/
apps/search/index.py
@@
-940,3
+940,7
@@
class Search(SolrIndex):
for f in filters:
query = query.query(f)
return query
+
+
+if getattr(settings, 'SEARCH_MOCK', False):
+ from .mock_search import Search