From: Jan Szejko Date: Thu, 21 Dec 2017 09:40:23 +0000 (+0100) Subject: add slug back to filter-books api X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/c34d6e5cea353a47408db1f7e78574b4f1e9c7e7?ds=inline add slug back to filter-books api --- diff --git a/src/api/handlers.py b/src/api/handlers.py index 88106260a..159e4f235 100644 --- 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 = '$'