]> git.koha-community.org Git - koha.git/commit
Bug 15260: Modify next/prev_open_day
authorAndrew Isherwood <andrew.isherwood@ptfs-europe.com>
Fri, 1 Feb 2019 12:24:54 +0000 (12:24 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 31 Oct 2019 11:52:26 +0000 (11:52 +0000)
commit780f79ae1aecbf74f8438bcf6d8e76f0fb40c752
treef17bb6c38fa7f5436d2abfd00bdd49f922d1c8a9
parentbf101f745c135a7295281b3c13e35080d4f18c41
Bug 15260: Modify next/prev_open_day

We require next_open_day & prev_open_day to be more flexible. We could
create a separate sub, but that's not very DRY given that they'll do
pretty much the same thing.

So next_open_day becomes next_open_days and prev_open_day becomes
prev_open_days and both functions accept an additional parameter which
determines how many days they add or subtract.

All calls of these two functions have been modified accordingly.

Sponsored-by: Cheshire West and Chester Council
Sponsored-by: Cheshire East Council
Sponsored-by: Newcastle City Council
Sponsored-by: Sefton Council
Signed-off-by: Liz Rea <wizzyrea@gmail.com>
Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
C4/Circulation.pm
Koha/Calendar.pm
misc/cronjobs/thirdparty/TalkingTech_itiva_outbound.pl