Koha-clms/Koha/ERM/EUsage
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
..
CounterFile.pm Bug 34587: (QA follow-up) Tidy 2023-10-31 16:46:32 -03:00
CounterFiles.pm
…
CounterLog.pm
…
CounterLogs.pm
…
DefaultUsageReport.pm
…
DefaultUsageReports.pm
…
MonthlyUsage.pm
…
MonthlyUsages.pm
…
SushiCounter.pm Bug 35418: Fix _get_usage_months 2023-11-29 17:36:11 -03:00
UsageDataProvider.pm Bug 34587: (QA follow-up) Tidy 2023-10-31 16:46:32 -03:00
UsageDataProviders.pm
…
UsageDatabase.pm
…
UsageDatabases.pm
…
UsageItem.pm
…
UsageItems.pm
…
UsagePlatform.pm
…
UsagePlatforms.pm
…
UsageTitle.pm
…
UsageTitles.pm
…
YearlyUsage.pm
…
YearlyUsages.pm
…