fnp
/
wolnelektury.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
c70eb0d
)
add book authors in hint list
author
Jan Szejko
<janek37@gmail.com>
Mon, 23 Oct 2017 13:03:21 +0000
(15:03 +0200)
committer
Jan Szejko
<janek37@gmail.com>
Mon, 23 Oct 2017 13:41:00 +0000
(15:41 +0200)
src/search/views.py
patch
|
blob
|
history
diff --git
a/src/search/views.py
b/src/search/views.py
index
5b65a30
..
d105be6
100644
(file)
--- a/
src/search/views.py
+++ b/
src/search/views.py
@@
-115,7
+115,7
@@
def hint(request):
break
limit -= 1
data.append({
- 'label':
b.title
,
+ 'label':
'<cite>%s</cite>, %s' % (b.title, b.author_unicode())
,
'category': _('book'),
'id': b.id,
'url': b.get_absolute_url()