bug 2292: save overdule rules to correct branch
authorGalen Charlton <galen.charlton@liblime.com>
Tue, 1 Jul 2008 16:53:21 +0000 (11:53 -0500)
committerJoshua Ferraro <jmf@liblime.com>
Wed, 2 Jul 2008 17:25:40 +0000 (12:25 -0500)
Save overdue rules to the selected branch, not always
to the default branch.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
koha-tmpl/intranet-tmpl/prog/en/modules/tools/overduerules.tmpl

index 5b46485..efca324 100644 (file)
@@ -51,6 +51,7 @@
             <!-- TMPL_IF name="table" -->
             <form method="post" action="/cgi-bin/koha/tools/overduerules.pl">
                 <input type="hidden" name="op" value="save" />
+                <input type="hidden" name="branch" value="<!-- TMPL_VAR NAME="branch" -->" />
                 <table>
                     <caption>Rules for overdue actions: <!--TMPL_IF Name="branch"--><!-- TMPL_VAR NAME="branch" --><!--TMPL_ELSE--> default library <!--/TMPL_IF-->
                     <!--TMPL_IF Name="datasaved"-->