]> git.koha-community.org Git - koha.git/commit
Bug 12507 - News does not always display in staff or OPAC
authorKyle M Hall <kyle@bywatersolutions.com>
Thu, 31 Jul 2014 15:28:44 +0000 (11:28 -0400)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Sun, 24 Aug 2014 15:37:06 +0000 (12:37 -0300)
commitd7c2faa795af0604bf0830534f1a37a2676e1d7b
tree520b1b190923e0c78586e5a735d4bad7e09979ef
parent95adc7a1f476cb28c435249e695a21b5276acf90
Bug 12507 - News does not always display in staff or OPAC

News will not display on the last day of each month due to the
way the date is calculated in the SQL code for grabbing news.

Test Plan:
1) Create a news item that should display
2) Change your server's date to the last day of the month
3) Note you can no longer see that news item
4) Apply this patch
5) Note you can now see your news item again

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
C4/NewsChannels.pm