|
|
|
@ -89,7 +89,7 @@ class BookListView(ListAPIView): |
|
|
|
serializer_class = BookSerializer |
|
|
|
permission_classes = (IsAuthenticated,) |
|
|
|
filter_backends = [SearchFilter] |
|
|
|
search_fields = ['title', 'summary', 'author'] |
|
|
|
search_fields = ['title', 'summary', 'publisher', 'isbn'] |
|
|
|
|
|
|
|
@book_list_swagger |
|
|
|
def get(self, request, *args, **kwargs): |
|
|
|
|