summaryrefslogtreecommitdiff
path: root/ishtar_common
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2024-06-13 11:50:23 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2024-06-13 11:50:23 +0200
commit625fa54f9477bbd7d10a85f7d3c9bce0098fc0d9 (patch)
tree2543d726a00fc45a84b24621ef6fa1ab60f7c14c /ishtar_common
parenta859b91583f53eae8f34f67f554acff9abd893a2 (diff)
downloadIshtar-625fa54f9477bbd7d10a85f7d3c9bce0098fc0d9.tar.bz2
Ishtar-625fa54f9477bbd7d10a85f7d3c9bce0098fc0d9.zip
🐛 fix pin for administrative act (refs #5976)
Diffstat (limited to 'ishtar_common')
-rw-r--r--ishtar_common/views.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/ishtar_common/views.py b/ishtar_common/views.py
index b362dfd04..a990fdfa6 100644
--- a/ishtar_common/views.py
+++ b/ishtar_common/views.py
@@ -736,6 +736,8 @@ def update_current_item(request, item_type=None, pk=None):
def pin_search(request, item_type):
+ if item_type.startswith("administrativeact"):
+ item_type = "administrativeact"
key = "pin-search-" + item_type
if not item_type or not (
request.is_ajax() and request.method == "POST" and "value" in request.POST