fnp
/
wolnelektury.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef9522d
)
minor fix (self_is_set)
author
Jan Szejko
<j-sz@o2.pl>
Tue, 26 Jan 2016 10:48:50 +0000
(11:48 +0100)
committer
Jan Szejko
<j-sz@o2.pl>
Tue, 26 Jan 2016 10:48:50 +0000
(11:48 +0100)
src/catalogue/views.py
patch
|
blob
|
history
diff --git
a/src/catalogue/views.py
b/src/catalogue/views.py
index
71b1de3
..
e71895f
100644
(file)
--- a/
src/catalogue/views.py
+++ b/
src/catalogue/views.py
@@
-193,7
+193,8
@@
def tagged_object_list(request, tags='', gallery=False):
'sort_key_author', 'title')
else:
objects = all_books.order_by('sort_key_author', 'title')
- related_book_tags = get_top_level_related_tags(tags)
+ # WTF: was outside if, overwriting value assigned if shelf_is_set
+ related_book_tags = get_top_level_related_tags(tags)
fragments = models.Fragment.objects.filter(book__in=all_books)