From c34d6e5cea353a47408db1f7e78574b4f1e9c7e7 Mon Sep 17 00:00:00 2001 From: Jan Szejko Date: Thu, 21 Dec 2017 10:40:23 +0100 Subject: [PATCH] add slug back to filter-books api --- src/api/handlers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = '$' -- 2.20.1