From 7fb53654ef50c76765c807bdf6bb4b855b12e94a Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Mon, 29 Oct 2018 10:51:39 -0300 Subject: [PATCH] Bug 21706: (follow-up) remove unused template params The original patch removed the need to add URLs to the template variables. This patch removes that in the controller. Bonus: fixes 'html' filter in URL replacing it by 'uri'. Signed-off-by: Tomas Cohen Arazi Signed-off-by: Jonathan Druart --- admin/auth_tag_structure.pl | 3 --- koha-tmpl/intranet-tmpl/prog/en/modules/admin/auth_tag_structure.tt | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/admin/auth_tag_structure.pl b/admin/auth_tag_structure.pl index 121e04f17d..3912da7fac 100755 --- a/admin/auth_tag_structure.pl +++ b/admin/auth_tag_structure.pl @@ -197,9 +197,6 @@ if ($op eq 'add_form') { $row_data{repeatable} = $results->[$i]{'repeatable'}; $row_data{mandatory} = $results->[$i]{'mandatory'}; $row_data{authorised_value} = $results->[$i]{'authorised_value'}; - $row_data{subfield_link} = "auth_subfields_structure.pl?tagfield=" . $results->[$i]{'tagfield'} . "&authtypecode=" . $authtypecode; - $row_data{edit} = "$script_name?op=add_form&searchfield=" . $results->[$i]{'tagfield'} . "&authtypecode=" . $authtypecode; - $row_data{delete} = "$script_name?op=delete_confirm&searchfield=" . $results->[$i]{'tagfield'} . "&authtypecode=" . $authtypecode; push(@loop_data, \%row_data); } $template->param(loop => \@loop_data, diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/auth_tag_structure.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/auth_tag_structure.tt index 25872c65cf..76f75d5a12 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/auth_tag_structure.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/auth_tag_structure.tt @@ -170,7 +170,7 @@ [% IF ( else ) %]

Select an authority framework

-- 2.11.0