fnp
/
wolnelektury.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c0da122
)
add slug back to filter-books api
author
Jan Szejko
<janek37@gmail.com>
Thu, 21 Dec 2017 09:40:23 +0000
(10:40 +0100)
committer
Jan Szejko
<janek37@gmail.com>
Thu, 21 Dec 2017 09:40:23 +0000
(10:40 +0100)
src/api/handlers.py
patch
|
blob
|
history
diff --git
a/src/api/handlers.py
b/src/api/handlers.py
index
8810626
..
159e4f2
100644
(file)
--- a/
src/api/handlers.py
+++ b/
src/api/handlers.py
@@
-301,7
+301,7
@@
class QuerySetProxy(models.QuerySet):
class FilterBooksHandler(AnonymousBooksHandler):
fields = book_tag_categories + [
- 'href', 'title', 'url', 'cover', 'cover_thumb', 'key', 'cover_source_image']
+ 'href', 'title', 'url', 'cover', 'cover_thumb', '
slug', '
key', 'cover_source_image']
def read(self, request):
key_sep = '$'