fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix
[wolnelektury.git]
/
apps
/
opds
/
views.py
diff --git
a/apps/opds/views.py
b/apps/opds/views.py
index
5a9e44a
..
ec93da1
100644
(file)
--- a/
apps/opds/views.py
+++ b/
apps/opds/views.py
@@
-370,6
+370,11
@@
class SearchFeed(AcquisitionFeed):
author = request.GET.get('author', '')
title = request.GET.get('title', '')
translator = request.GET.get('translator', '')
author = request.GET.get('author', '')
title = request.GET.get('title', '')
translator = request.GET.get('translator', '')
+
+ # Our client didn't handle the opds placeholders
+ if author == '{atom:author}': author = ''
+ if title == '{atom:title}': title = ''
+ if translator == '{atom:contributor}': translator = ''
categories = None
fuzzy = False
categories = None
fuzzy = False