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

--- Comment #3 from Martin Renvoize (ashimema) 
<[email protected]> ---
Created attachment 179417
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=179417&action=edit
Bug 32604: Correct boundary calculation for birthdate

Add 1 to upperagelimit to make it calculate birthday boundaries correctly
for patrons_to_update_category search

To test:
1. Add upper age limit as 18 for child patron category.
2. Create a child patron whose age is 18.
3. Save.
=> Patron is saved successfully.
4. Run cronjob update_patrons_category.pl with verbose option.
   perl update_patrons_category.pl --too_old --from CHILD --to ADULT -v
=> Note that patron is reported as updated (or would have updated)
   as an adult patron.
5. Apply patch
6. Re-run steps 1 to 5 and note we no long update the 18 year olds.

Signed-off-by: Martin Renvoize <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
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