]> git.koha-community.org Git - koha.git/commit
Bug 33837: Replace days_inclusive by min_days
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Fri, 26 May 2023 07:26:15 +0000 (07:26 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 11 Oct 2023 13:31:44 +0000 (10:31 -0300)
commitef0868a21b2c439b5fd7f937d07552e9cc298a0f
tree495e387654a86ee114bd1660814a81dab17216b8
parent587bcae366cc9886ce2db113a002ece062d12cc7
Bug 33837: Replace days_inclusive by min_days

Instead of passing days and days_inclusive, this patch adds
min_days as replacement. Since days_inclusive is not widely
used, this can be done easily. It removes the confusion
whether days_inclusive impacted other parameters or not.

Test plan:
Run t/db_dependent/Koha/Objects.t
Run t/db_dependent/Koha/Old/Checkouts.t
Run t/db_dependent/Koha/Patrons.t (verifying the change in the
Koha::Patrons module for filtering by expiration date).

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Koha/Objects.pm
Koha/Patrons.pm
t/db_dependent/Koha/Objects.t
t/db_dependent/Koha/Old/Checkouts.t