fnp
/
wolnelektury.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a79b274
)
fix
author
Radek Czajka
<rczajka@rczajka.pl>
Mon, 5 Jun 2023 14:01:14 +0000
(16:01 +0200)
committer
Radek Czajka
<rczajka@rczajka.pl>
Mon, 5 Jun 2023 14:01:14 +0000
(16:01 +0200)
src/catalogue/views.py
patch
|
blob
|
history
diff --git
a/src/catalogue/views.py
b/src/catalogue/views.py
index
b52d7b9
..
e027200
100644
(file)
--- a/
src/catalogue/views.py
+++ b/
src/catalogue/views.py
@@
-154,7
+154,7
@@
def object_list(request, objects, fragments=None, related_tags=None, tags=None,
'suggest': suggest,
'list_type': list_type,
'tags': tags,
- 'main_tag': tags[0],
+ 'main_tag': tags[0]
if tags else None
,
'formats_form': forms.DownloadFormatsForm(),
'best': best,