From d325625a9382de445088dec6c820b638057cd6a3 Mon Sep 17 00:00:00 2001 From: Ian Walls <ian.walls@bywatersolutions.com> Date: Tue, 30 Aug 2011 13:49:51 -0400 Subject: [PATCH] [Signed Off] Bug 6351: Cannot delete library-specific holds polices and checkout limits Content-Type: text/plain; charset="utf-8" Template::Toolkit scope error on delete links on Checkout Limit by Patron Category and Holds Policy by Item Type areas. Testing Results: Tested adding and removing Checkout Limits by Patron Category - both work Tested adding and removing Holds Policies by ItemTypes - both work Signed-off-by: Liz Rea <lrea@nekls.org> --- .../prog/en/modules/admin/smart-rules.tt | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt index 0edcece..d2f314f 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt @@ -268,7 +268,7 @@ for="tobranch"><strong>Clone these rules to:</strong></label> <input type="hidde [% END %] </td> <td> - <a class="button" href="/cgi-bin/koha/admin/smart-rules.pl?op=delete-branch-cat&categorycode=[% branch_cat_rule_loo.categorycode %]&branch=[% branch_cat_rule_loo.current_branch %]">Delete</a> + <a class="button" href="/cgi-bin/koha/admin/smart-rules.pl?op=delete-branch-cat&categorycode=[% branch_cat_rule_loo.categorycode %]&branch=[% current_branch %]">Delete</a> </td> </tr> [% END %] @@ -339,7 +339,7 @@ for="tobranch"><strong>Clone these rules to:</strong></label> <input type="hidde [% END %] </td> <td> - <a class="button" href="/cgi-bin/koha/admin/smart-rules.pl?op=delete-branch-item&itemtype=[% branch_item_rule_loo.itemtype %]&branch=[% branch_item_rule_loo.current_branch %]">Delete</a> + <a class="button" href="/cgi-bin/koha/admin/smart-rules.pl?op=delete-branch-item&itemtype=[% branch_item_rule_loo.itemtype %]&branch=[% current_branch %]">Delete</a> </td> </tr> [% END %] -- 1.7.2.5