[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 21:46:43 CEST 2017


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

David Bourgault <david.bourgault at inlibro.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #68719|0                           |1
        is obsolete|                            |

--- Comment #2 from David Bourgault <david.bourgault at inlibro.com> ---
Created attachment 68789
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=68789&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

Signed-off-by: David Bourgault <david.bourgault at inlibro.com>

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


More information about the Koha-bugs mailing list