fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Tidying up all the covers craziness and storages.
[wolnelektury.git]
/
src
/
search
/
views.py
diff --git
a/src/search/views.py
b/src/search/views.py
index
6a9e1ea
..
1c26acc
100644
(file)
--- a/
src/search/views.py
+++ b/
src/search/views.py
@@
-91,7
+91,7
@@
def get_hints(prefix, user=None, limit=10):
'label': b.title,
'author': author_str,
'url': b.get_absolute_url(),
'label': b.title,
'author': author_str,
'url': b.get_absolute_url(),
- 'img': get_thumbnail(b.cover
_clean, '72x72').url if b.cover_clean
else '',
+ 'img': get_thumbnail(b.cover
, '72x72').url if b.cover
else '',
'slug': b.slug,
}
)
'slug': b.slug,
}
)