fnp
/
wolnelektury.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c281ea
)
Filter top-level books.
author
Radek Czajka
<rczajka@rczajka.pl>
Tue, 6 Sep 2022 11:48:55 +0000
(13:48 +0200)
committer
Radek Czajka
<rczajka@rczajka.pl>
Tue, 6 Sep 2022 11:48:55 +0000
(13:48 +0200)
src/catalogue/admin.py
patch
|
blob
|
history
diff --git
a/src/catalogue/admin.py
b/src/catalogue/admin.py
index
47032ba
..
4f30b24
100644
(file)
--- a/
src/catalogue/admin.py
+++ b/
src/catalogue/admin.py
@@
-38,6
+38,7
@@
class BookAdmin(admin.ModelAdmin):
list_filter = [
'print_on_demand',
('wiki_link', BlankFieldListFilter),
+ ('parent', EmptyFieldListFilter),
]
search_fields = ('title',)
ordering = ('title',)