Koha-clms/Koha/ERM
Pedro Amorim 9988925fb5
Bug 35418: Fix _get_usage_months
No longer falls in an endless loop if the last month in the report period is december.

Test plan:
1) Apply just the tests patch, run EUsage tests
prove t/db_dependent/Koha/ERM/EUsage/
2) Wait for a few seconds. Notice SushiCounter.t it hangs. CTRL+C (cancel it)
3) Apply the fix patch.
4) Run the tests again. Notice all EUsage tests pass with no issues.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Andrew Auld <andrew.auld@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2023-11-29 17:36:11 -03:00
..
Agreement Bug 32030: Add users to licenses - Preparation 2022-11-08 09:44:47 -03:00
EHoldings Bug 35115: (QA follow-up): 2023-11-29 17:36:10 -03:00
EUsage Bug 35418: Fix _get_usage_months 2023-11-29 17:36:11 -03:00
Providers Bug 34789: Update usage throughout Koha modules and Vue components 2023-09-18 12:06:18 -03:00
Agreement.pm Bug 32030: Add users to licenses - Preparation 2022-11-08 09:44:47 -03:00
Agreements.pm Bug 33490: Fix ambiguous query error 2023-05-05 09:13:36 -03:00
Document.pm Bug 32030: Add document to license - Preparation step 2022-11-08 09:44:30 -03:00
Documents.pm Bug 32030: Max document file size - server-side validation 2022-11-08 09:44:45 -03:00
License.pm Bug 32030: Add users to licenses 2022-11-08 09:44:47 -03:00
Licenses.pm Bug 32030: ERM - Licenses 2022-11-08 09:43:44 -03:00
UserRole.pm Bug 32030: Add users to licenses - Preparation 2022-11-08 09:44:47 -03:00
UserRoles.pm Bug 32030: Add users to licenses - Preparation 2022-11-08 09:44:47 -03:00