X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/ddf2102eff7ea420a4ea5144c43409587fc1156e..94a4fcc7ab9e1713dc2defc8b35c875fc90f6fa5:/src/search/views.py?ds=inline diff --git a/src/search/views.py b/src/search/views.py index f7953c315..d6edd5164 100644 --- a/src/search/views.py +++ b/src/search/views.py @@ -132,6 +132,14 @@ def hint(request, mozhint=False, param='term'): [ item['label'] for item in data + ], + [ + item.get('author', '') + for item in data + ], + [ + item['url'] + for item in data ] ]