summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2023-04-03 12:56:12 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2023-04-03 12:57:17 +0200
commit98f69b89d06d6a482b9da9ddf3a8135c48395735 (patch)
treefa54c10b7c88ae6263bf93d1e6c7a1d0a44c67d3
parenteeeef30f64202395144da33e900515bd3663d6db (diff)
downloadIshtar-98f69b89d06d6a482b9da9ddf3a8135c48395735.tar.bz2
Ishtar-98f69b89d06d6a482b9da9ddf3a8135c48395735.zip
Containers: remove division search
-rw-r--r--CHANGES.md1
-rw-r--r--archaeological_warehouse/models.py3
2 files changed, 4 insertions, 0 deletions
diff --git a/CHANGES.md b/CHANGES.md
index 760bbdec7..9b13d7131 100644
--- a/CHANGES.md
+++ b/CHANGES.md
@@ -14,6 +14,7 @@ Ishtar changelog
- Json fields: fix bad save of multi values
- Cascade update from warehouse to containers (refs #5432)
- Sheets: fix history view with associated geo
+- Containers: remove division search
v4.0.43 - 2023-03-17
--------------------
diff --git a/archaeological_warehouse/models.py b/archaeological_warehouse/models.py
index f88631d80..cdb2d4bd8 100644
--- a/archaeological_warehouse/models.py
+++ b/archaeological_warehouse/models.py
@@ -1054,6 +1054,8 @@ class Container(
ALT_NAMES.update(BaseHistorizedItem.ALT_NAMES)
ALT_NAMES.update(DocumentItem.ALT_NAMES)
+ """
+ # kept as an example
DYNAMIC_REQUESTS = {
"division": DynamicRequest(
label=_("Division -"),
@@ -1065,6 +1067,7 @@ class Container(
search_query="division__reference__iexact",
),
}
+ """
QA_EDIT = QuickAction(
url="container-qa-bulk-update",