Fixed #724: nicer search results
[wolnelektury.git] / apps / catalogue / views.py
index cd74ac0..7322210 100644 (file)
@@ -320,7 +320,7 @@ def _get_result_type(match):
         type = 'book'
     else:
         type = match.category
-    return dict(models.TAG_CATEGORIES)[type]
+    return type