X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/fe14330cee64ab56c479ff83a4eb29a214c68d8f..2e45f239552a9e378a9e1f65274dfb7c13df220d:/src/search/views.py diff --git a/src/search/views.py b/src/search/views.py index 309db73f4..7e512be14 100644 --- a/src/search/views.py +++ b/src/search/views.py @@ -87,7 +87,8 @@ def hint(request): if len(data) < limit: data += [ { - 'label': '%s, %s' % (b.title, b.author_unicode()), + 'label': b.title, + 'author': b.author_unicode(), 'id': b.id, 'url': b.get_absolute_url() }