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

--- Comment #11 from Matt Blenkinsop <matt.blenkin...@ptfs-europe.com> ---
Created attachment 159592
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=159592&action=edit
Bug 35341: Fix circulation rule dates being overwritten

This patch correctly sets the values of the date fields so that they are not
overwritten when only one is amended.

It also amends the collumn indexes being used in the click event as new columns
have been added without these being updated

Test plan:
1) Navigate to Administration > Circulation and fine rules
2) Add a new circulation rule for a category of your choice
3) For the "All" rule, add the date 31/12/2023 to both the Hard due date and No
automatic renewal after (hard limit) (NARAHL) columns and save
4) Now edit the rule that you created.
5) Change the two columns above to 01/12/2023 and click save
6) Edit the rule again and change the Hard due date to 15/12/2023. Click save
7) Note that the date for your rule in the NARAHL has changed to 31/12/2023
despite not being edited
8) Click edit again, and change the NARAHL date to 15/12/2023 and save.
9) This time the date in Hard due date will have changed to 31/12/2023
10) Apply patch
11) Edit the dates individually a few times and this time your rule should
update correctly

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to