[Koha-bugs] [Bug 19539] Editing rules that contain 'Unlimited' values produces invalid data

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Oct 27 16:16:04 CEST 2017


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19539

--- Comment #1 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 68719
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=68719&action=edit
Bug 19539: Fix column index shift in cirulation rules

This patch fixes an index shift introduced by bug 18857 when it introduced
a new column.

To test:
- On the Circulation and fine rules page
- Empty the value of 'Current on-site checkouts allowed' and save
- Notice 'Unlimited' shows on the saved rule.
- Click edit
=> FAIL: the 'Unlimited' string displays instead of the empty string on the
editing row.
- Apply this patch
- Re-open the circ rules page
- Click edit
=> SUCCESS: An empty string fills the 'Unlimited' fields
- Sign off :-D

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list