Bug 9933: Unable to edit or add rules for any branch except default

To test
1/ Select a branch in circ rules
2/ Edit or add a rule, note this change is made for default instead of
the library you selected
3/ Apply the patch
4/ Try 1 and 2 again

Signed-off-by: Mirko Tietgen <mirko@abunchofthings.net>
Works as expected.
Signed-off-by: Mason James <mtj@kohaaloha.com>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
This commit is contained in:
Chris Cormack 2013-04-08 20:43:45 +12:00 committed by Jared Camins-Esakov
parent f1af1db21d
commit f005b51579

View file

@ -133,7 +133,7 @@ for="tobranch"><strong>Clone these rules to:</strong></label> <input type="hidde
<form method="post" action="/cgi-bin/koha/admin/smart-rules.pl">
<input type="hidden" name="op" value="add" />
<input type="hidden" name="branch" value="[% branch %]"/>
<input type="hidden" name="branch" value="[% current_branch %]"/>
<table id="default-circulation-rules">
<thead>
<tr>