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 Bug 34587: Move everything into a ERM/EUsage subfolder 2023-10-31 16:46:18 -03:00
CounterLog.pm Bug 34587: Move everything into a ERM/EUsage subfolder 2023-10-31 16:46:18 -03:00
CounterLogs.pm Bug 34587: Move everything into a ERM/EUsage subfolder 2023-10-31 16:46:18 -03:00
DefaultUsageReport.pm Bug 34587: Move everything into a ERM/EUsage subfolder 2023-10-31 16:46:18 -03:00
DefaultUsageReports.pm Bug 34587: Move everything into a ERM/EUsage subfolder 2023-10-31 16:46:18 -03:00
MonthlyUsage.pm Bug 34587: Move everything into a ERM/EUsage subfolder 2023-10-31 16:46:18 -03:00
MonthlyUsages.pm Bug 34587: Move everything into a ERM/EUsage subfolder 2023-10-31 16:46:18 -03:00
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 Bug 34587: Move everything into a ERM/EUsage subfolder 2023-10-31 16:46:18 -03:00
UsageDatabase.pm Bug 34587: Move everything into a ERM/EUsage subfolder 2023-10-31 16:46:18 -03:00
UsageDatabases.pm Bug 34587: Move everything into a ERM/EUsage subfolder 2023-10-31 16:46:18 -03:00
UsageItem.pm Bug 34587: Move everything into a ERM/EUsage subfolder 2023-10-31 16:46:18 -03:00
UsageItems.pm Bug 34587: Move everything into a ERM/EUsage subfolder 2023-10-31 16:46:18 -03:00
UsagePlatform.pm Bug 34587: Move everything into a ERM/EUsage subfolder 2023-10-31 16:46:18 -03:00
UsagePlatforms.pm Bug 34587: Move everything into a ERM/EUsage subfolder 2023-10-31 16:46:18 -03:00
UsageTitle.pm Bug 34587: Move everything into a ERM/EUsage subfolder 2023-10-31 16:46:18 -03:00
UsageTitles.pm Bug 34587: Move everything into a ERM/EUsage subfolder 2023-10-31 16:46:18 -03:00
YearlyUsage.pm Bug 34587: Move everything into a ERM/EUsage subfolder 2023-10-31 16:46:18 -03:00
YearlyUsages.pm Bug 34587: Move everything into a ERM/EUsage subfolder 2023-10-31 16:46:18 -03:00