mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-11-03 13:35:37 +00:00
Fix: exclude versions from stats count (#12738)
This commit is contained in:
1 parent
f985f7db51
commit
3097f06189
2 files changed
+30
-1
No files matched your search
@@ -3614,7 +3614,7 @@ class StatisticsView(GenericAPIView[Any]):
|
||||
"documents.view_document",
|
||||
Document,
|
||||
)
|
||||
)
|
||||
).filter(root_document__isnull=True)
|
||||
tags = (
|
||||
Tag.objects.all()
|
||||
if can_view_global_stats
|
||||
|
||||
Reference in new issue
Block a user