Bug 5824: Creating a circ rule for a specific library causes anomalies
authorIan Walls <ian.walls@bywatersolutions.com>
Thu, 3 Mar 2011 23:13:26 +0000 (18:13 -0500)
committerChris Cormack <chrisc@catalyst.net.nz>
Sat, 5 Mar 2011 07:38:36 +0000 (20:38 +1300)
commit4735e296cf99dea4dd5217193460f8585d6cf25d
treeeeceef3ded3f6c4fe371d0e18804d36e2ae2b2ae
parent2dde87679864042fb531c3f580e564a3d6b70f3b
Bug 5824: Creating a circ rule for a specific library causes anomalies

The variable name for the current branch being edited was the same as the variable used in
cat-search.inc, which passed along the circ-rule library to circulation.pl, and then overriding
the set library from there.

This patch renames the template variable 'current_branch', so that it does not populate the 'branch'
param in cat-search.inc

Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
admin/smart-rules.pl
koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tmpl