Minor fixes and improvements

This commit is contained in:
2024-12-23 01:26:22 +01:00
parent f4af44c41c
commit 6ff5450124
4 changed files with 26 additions and 3 deletions

View File

@@ -549,14 +549,16 @@ class GetBookCatalog(View):
except ObjectDoesNotExist:
raise Http404
book_properties = book.property.get_public(request.user)
properties = book.property.get_public(request.user)
documents = book.document.get_public(request.user)
return render(
request,
"bookshelf/book.html",
{
"title": book,
"book_properties": book_properties,
"book": book,
"documents": documents,
"properties": properties,
"type": selector
},
)