@@ -, +, @@ back to the tag list rather than showing a 'Tag deleted' page first Binders row - Actions menu - MARC structure MARC structure doesn't show one, because you just deleted it, and now you can delete the 096 tag next --- admin/marctagstructure.pl | 3 ++- .../prog/en/modules/admin/marctagstructure.tt | 25 ------------------- 2 files changed, 2 insertions(+), 26 deletions(-) --- a/admin/marctagstructure.pl +++ a/admin/marctagstructure.pl @@ -180,7 +180,8 @@ if ($op eq 'add_form') { $cache->clear_from_cache("MarcStructure-1-$frameworkcode"); $cache->clear_from_cache("MarcSubfieldStructure-$frameworkcode"); $cache->clear_from_cache("MarcCodedFields-$frameworkcode"); - $template->param( searchfield => $searchfield ); + print $input->redirect("/cgi-bin/koha/admin/marctagstructure.pl?searchfield=$searchfield&frameworkcode=$frameworkcode"); + exit; # END $OP eq DELETE_CONFIRMED ################## ITEMTYPE_CREATE ################################## # called automatically if an unexisting frameworkis selected --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marctagstructure.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marctagstructure.tt @@ -15,9 +15,6 @@ [% IF ( delete_confirm ) %] [% tx("Confirm deletion of tag {searchfield}", { searchfield = searchfield }) | html %] › [% END %] - [% IF ( delete_confirmed ) %] - [% t("Data deleted") | html %] › - [% END %] [% IF framework %] [% framework.frameworktext | html %] ([% framework.frameworkcode | html %]) › [% ELSE %] @@ -84,20 +81,6 @@ [% WRAPPER breadcrumb_item bc_active= 1%] [% tx("Confirm deletion of tag {searchfield}", { searchfield = searchfield }) | html %] [% END %] - - [% ELSIF ( delete_confirmed ) %] - [% WRAPPER breadcrumb_item %] - - [% IF framework %] - [% framework.frameworktext | html %] ([% framework.frameworkcode | html %]) - [% ELSE %] - Default framework - [% END %] - - [% END %] - [% WRAPPER breadcrumb_item bc_active= 1%] - Data deleted - [% END %] [% END %] [% END #/ WRAPPER breadcrumbs %] [% END #/ WRAPPER sub-header.inc %] @@ -212,14 +195,6 @@ [% END %] -[% IF ( delete_confirmed ) %] - -

Tag deleted

-
- [% INCLUDE 'csrf-token.inc' %] - -
-[% END %] [% IF ( framework_create ) %]
--