X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/fe14330cee64ab56c479ff83a4eb29a214c68d8f..91c2c98e39dde75bd6f20478748918d062b49590:/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() }