Bug 35460: Fix add and edit of hold rules in circulation rules table
Adding or editing following columns in circulation rules table didn't work: - Holds allowed (total) - Holds allowed (daily) - Holds per record (count) At some point those columns were dropped from list of saved columns in smart-rules.pl. To test: 1. Create new rule or edit existing one. 2. Add or change values in following columns: - Holds allowed (total) - Holds allowed (daily) - Holds per record (count 3. Save rule. => Note that columns have value "Unlimited" on them. If you check database, columns haven't been saved. 4. Apply this patch. 5. Repeat steps 1. to 3. => Columns should now have values in them and they are saved to database. Sponsored-by: Koha-Suomi Oy Signed-off-by: Emily Lamancusa <emily.lamancusa@montgomerycountymd.gov> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
parent
855b8bc66e
commit
ca27b5adb0
1 changed files with 3 additions and 0 deletions
|
@ -327,6 +327,9 @@ elsif ( $op eq 'add' ) {
|
|||
auto_renew => $auto_renew,
|
||||
no_auto_renewal_after => $no_auto_renewal_after,
|
||||
no_auto_renewal_after_hard_limit => $no_auto_renewal_after_hard_limit,
|
||||
reservesallowed => $reservesallowed,
|
||||
holds_per_record => $holds_per_record,
|
||||
holds_per_day => $holds_per_day,
|
||||
onshelfholds => $onshelfholds,
|
||||
opacitemholds => $opacitemholds,
|
||||
overduefinescap => $overduefinescap,
|
||||
|
|
Loading…
Reference in a new issue