diff options
Diffstat (limited to 'app/books')
-rw-r--r-- | app/books/admin.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/books/admin.py b/app/books/admin.py index 5182659..6d75050 100644 --- a/app/books/admin.py +++ b/app/books/admin.py @@ -4,6 +4,8 @@ from .models import Book, BookHighlight class BookAdmin(admin.ModelAdmin): list_display = ('title', 'admin_thumbnail', 'rating', 'isbn', 'author_name', 'read_date', 'publish_date') + search_fields = ['title', 'body_markdown'] + list_filter = ('pub_date', 'rating', 'read_date') class BookHighlightAdmin(admin.ModelAdmin): |