fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
slightly prettier annotation links (#677)
[wolnelektury.git]
/
apps
/
catalogue
/
views.py
diff --git
a/apps/catalogue/views.py
b/apps/catalogue/views.py
index
cd74ac0
..
7322210
100644
(file)
--- a/
apps/catalogue/views.py
+++ b/
apps/catalogue/views.py
@@
-320,7
+320,7
@@
def _get_result_type(match):
type = 'book'
else:
type = match.category
- return
dict(models.TAG_CATEGORIES)[type]
+ return
type