X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/16e6aeef587784cb0c4ff42277657fd34eee7ba6..2245baeed5c7fb97da2aeb5441aadf26c280fee9:/src/catalogue/models.py?ds=inline diff --git a/src/catalogue/models.py b/src/catalogue/models.py index 38d31678..fb42ba89 100644 --- a/src/catalogue/models.py +++ b/src/catalogue/models.py @@ -397,7 +397,7 @@ class Book(WikidataModel): if hasattr(self, '_content_stats'): return self._content_stats try: - stats = self.document_books.first().wldocument().get_statistics()['total'] + stats = self.document_books.first().wldocument(librarian2=True).get_statistics()['total'] except Exception as e: stats = {} self._content_stats = stats