]> git.koha-community.org Git - koha.git/commit
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 Nighswonger <chris.nighswonger@gmail.com>
Sun, 6 Mar 2011 00:36:37 +0000 (19:36 -0500)
commit3ae3f526d6bda7d2404cb904f4c70400476aa290
treebcaa86193c63e1da148336919f44c6c038249093
parentce441c98b59386e3edf16d569b657a491314ea73
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>
(cherry picked from commit 4735e296cf99dea4dd5217193460f8585d6cf25d)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
admin/smart-rules.pl
koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tmpl