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

--- Comment #329 from Arthur Suzuki <[email protected]> ---
Created attachment 207948
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=207948&action=edit
Bug 17656: (QA follow-up) fix irregularity save on single and bulk renewal

For cud-renew (single subscription renewal):
- Save permanent_irregularity from the form submission
- Recompute irregularity via guess_irregularities for the new period
- Remove unused @irregularities variable that was dead code

For cud-multi_renew (bulk renewal):
- Stop overwriting permanent_irregularity with empty form data
- The multi_renew confirmation form has no irregularity inputs,
  so the previous code was silently clearing permanent_irregularity
  on every bulk renewal, breaking subsequent renewals

Test plan:

Setup (run once):
  1. Apply all patches in this series
  2. Inside KTD: perl installer/data/mysql/updatedatabase.pl
  3. Inside KTD: dbic --force

Signed-off-by: Philip Orr <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to