X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/4727eb31e50fa1571c83c4be5e228534b07574a7..6407cf24cd6cf3f9ea6fdf4a8924dad109a590e6:/src/search/views.py 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 ] ]