From 4f6136773ebfd8998c9762fafcb4ea27479bd810 Mon Sep 17 00:00:00 2001 From: Philipp Metzner Date: Wed, 8 Apr 2026 00:49:14 +0200 Subject: [PATCH 1/2] Add DB migration for forwarding to v2 ManageTags --- .../20260408004411_new_manage_tags_menu.php | 22 +++++++++++++++++++ library/constants.php | 4 ++-- 2 files changed, 24 insertions(+), 2 deletions(-) create mode 100644 db/migrations/20260408004411_new_manage_tags_menu.php diff --git a/db/migrations/20260408004411_new_manage_tags_menu.php b/db/migrations/20260408004411_new_manage_tags_menu.php new file mode 100644 index 000000000..3f557abcd --- /dev/null +++ b/db/migrations/20260408004411_new_manage_tags_menu.php @@ -0,0 +1,22 @@ +execute(" + UPDATE `cms_functions` SET `title_en` = 'Manage Tags v2', `include` = 'new_manage_tags' WHERE `id` = '162'; + "); + } + + public function down(): void + { + $this->execute(" + UPDATE `cms_functions` SET `title_en` = 'Manage Tags', `include` = 'tags' WHERE `id` = '162'; + "); + } +} diff --git a/library/constants.php b/library/constants.php index f6558ba55..442eeff73 100644 --- a/library/constants.php +++ b/library/constants.php @@ -337,8 +337,8 @@ [ 'id' => 162, 'module' => 'Beneficiaries', - 'menu' => 'Manage tags', - 'action' => 'tags', + 'menu' => 'Manage tags v2', + 'action' => 'new_manage_tags', 'adminonly' => '0', 'visible' => '1', 'allusers' => '0', From 64e8efca63db76ed697bddc2aaa1aa27c32db5ab Mon Sep 17 00:00:00 2001 From: Philipp Metzner Date: Wed, 8 Apr 2026 01:05:58 +0200 Subject: [PATCH 2/2] Fixup --- include/new_manage_tags.php | 3 +++ library/constants.php | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 include/new_manage_tags.php diff --git a/include/new_manage_tags.php b/include/new_manage_tags.php new file mode 100644 index 000000000..3b9c326da --- /dev/null +++ b/include/new_manage_tags.php @@ -0,0 +1,3 @@ + 162, 'module' => 'Beneficiaries', - 'menu' => 'Manage tags v2', + 'menu' => 'Manage Tags v2', 'action' => 'new_manage_tags', 'adminonly' => '0', 'visible' => '1',