summaryrefslogtreecommitdiff
path: root/archaeological_files/models.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2025-03-19 11:54:38 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2025-03-19 12:44:45 +0100
commitb0c2ded8e95dcf61b36685fec4b40d9bcf82bef0 (patch)
tree72a8ac0ec7b8c779516bd2d22bb057163b64243d /archaeological_files/models.py
parentc1fa91b2acb68aff15ca1dfbabaf51d8ea83e166 (diff)
downloadIshtar-b0c2ded8e95dcf61b36685fec4b40d9bcf82bef0.tar.bz2
Ishtar-b0c2ded8e95dcf61b36685fec4b40d9bcf82bef0.zip
🚑️ fix huge performance problems on permissions when too many items are attached
Diffstat (limited to 'archaeological_files/models.py')
-rw-r--r--archaeological_files/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/archaeological_files/models.py b/archaeological_files/models.py
index 6f1640b46..5a5f4947e 100644
--- a/archaeological_files/models.py
+++ b/archaeological_files/models.py
@@ -1396,7 +1396,7 @@ class File(
@classmethod
def get_query_owns(cls, ishtaruser):
- return cls._construct_query_own("", cls._get_query_owns_dicts(ishtaruser))
+ return cls._construct_query_own(cls, "", cls._get_query_owns_dicts(ishtaruser))
def is_active(self):
return not bool(self.end_date)