X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/4727eb31e50fa1571c83c4be5e228534b07574a7..9a0ea819fa5bfd8bce2e2500fbfc0cfcc75eff08:/src/search/views.py?ds=sidebyside diff --git a/src/search/views.py b/src/search/views.py index f7953c315..2f9adab36 100644 --- a/src/search/views.py +++ b/src/search/views.py @@ -1,5 +1,5 @@ -# This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later. -# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information. +# This file is part of Wolne Lektury, licensed under GNU Affero GPLv3 or later. +# Copyright © Fundacja Wolne Lektury. See NOTICE for more information. # from django.conf import settings from django.shortcuts import render @@ -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 ] ]