diff options
author | Étienne Loks <etienne.loks@proxience.com> | 2014-05-10 17:02:15 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@proxience.com> | 2014-05-10 17:02:15 +0200 |
commit | 0b3ef876eddaa4b78ac1445cff253ca36a83170a (patch) | |
tree | 2b4cad628ba131f60f9f809b55652555e63755d6 /archaeological_files/models.py | |
parent | 38ef78b34f41338e7ea6d8912d04ed505e5f80d6 (diff) | |
download | Ishtar-0b3ef876eddaa4b78ac1445cff253ca36a83170a.tar.bz2 Ishtar-0b3ef876eddaa4b78ac1445cff253ca36a83170a.zip |
Fix quick shortcut associated items for operations and files (refs #1752)
Diffstat (limited to 'archaeological_files/models.py')
-rw-r--r-- | archaeological_files/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/archaeological_files/models.py b/archaeological_files/models.py index 9a42170c1..5138731d5 100644 --- a/archaeological_files/models.py +++ b/archaeological_files/models.py @@ -221,7 +221,7 @@ class File(BaseHistorizedItem, OwnPerms, ValueGetter): @classmethod def get_query_owns(cls, user): - return (Q(history_modifier=user) | Q(in_charge__ishtaruser=user)) \ + return (Q(history_creator=user) | Q(in_charge__ishtaruser=user)) \ & Q(end_date__isnull=True) def is_active(self): |