]> git.koha-community.org Git - koha.git/commit
Bug 19539: Fix column index shift in cirulation rules
authorTomas Cohen Arazi <tomascohen@theke.io>
Fri, 27 Oct 2017 14:12:57 +0000 (11:12 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 1 Nov 2017 16:09:52 +0000 (13:09 -0300)
commit63b7017bd36c80a80fb6e66edf8ee538e1bb38ed
tree0444ff8e3232429ee5d77c4600bf06ad16bee1cd
parent888a97f15b3c1c6f89311c726793c6cab14850b4
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@inlibro.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt