Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions db/migrations/20260408004411_new_manage_tags_menu.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?php

declare(strict_types=1);

use Phinx\Migration\AbstractMigration;

final class NewManageTagsMenu extends AbstractMigration
{
public function up(): void
{
$this->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';
");
}
}
4 changes: 2 additions & 2 deletions library/constants.php
Original file line number Diff line number Diff line change
Expand Up @@ -337,8 +337,8 @@
[
'id' => 162,
'module' => 'Beneficiaries',
'menu' => 'Manage tags',
'action' => 'tags',
'menu' => 'Manage tags v2',
Comment thread
pylipp marked this conversation as resolved.
Outdated
'action' => 'new_manage_tags',
Comment thread
pylipp marked this conversation as resolved.
'adminonly' => '0',
'visible' => '1',
'allusers' => '0',
Expand Down
Loading