summaryrefslogtreecommitdiff
path: root/ishtar_common/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'ishtar_common/models.py')
-rw-r--r--ishtar_common/models.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/ishtar_common/models.py b/ishtar_common/models.py
index 1ac95dd7e..ffe078efd 100644
--- a/ishtar_common/models.py
+++ b/ishtar_common/models.py
@@ -2656,6 +2656,9 @@ class Organization(Address, Merge, OwnPerms, BaseGenderedType, ValueGetter, Main
"museum_museofile_id__iexact",
),
}
+
+ DEFAULT_SEARCH_FORM = ("ishtar_common.forms_common", "OrganizationSelect")
+
QA_EDIT = QuickAction(
url="organization-qa-bulk-update",
icon_class="fa fa-pencil",
@@ -2937,6 +2940,9 @@ class Person(Address, Merge, OwnPerms, ValueGetter, MainItem):
"profiles__profile_type__label__iexact",
),
}
+
+ DEFAULT_SEARCH_FORM = ("ishtar_common.forms_common", "PersonSelect")
+
QA_EDIT = QuickAction(
url="person-qa-bulk-update",
icon_class="fa fa-pencil",
@@ -4498,6 +4504,8 @@ class Document(
}
ALT_NAMES.update(BaseHistorizedItem.ALT_NAMES)
+ DEFAULT_SEARCH_FORM = ("ishtar_common.forms_common", "DocumentSelect")
+
# search parameters
REVERSED_BOOL_FIELDS = ["image__isnull", "associated_file__isnull"]
DATED_FIELDS = BaseHistorizedItem.DATED_FIELDS + [