diff options
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 |
commit | 625fa54f9477bbd7d10a85f7d3c9bce0098fc0d9 (patch) | |
tree | 2543d726a00fc45a84b24621ef6fa1ab60f7c14c | |
parent | a859b91583f53eae8f34f67f554acff9abd893a2 (diff) | |
download | Ishtar-625fa54f9477bbd7d10a85f7d3c9bce0098fc0d9.tar.bz2 Ishtar-625fa54f9477bbd7d10a85f7d3c9bce0098fc0d9.zip |
🐛 fix pin for administrative act (refs #5976)
-rw-r--r-- | ishtar_common/views.py | 2 |
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 |