Bugzilla – Attachment 30410 Details for
Bug 12507
News does not always display in staff or OPAC
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 12507 - Don't show News in Staff and opac
Bug-12507---Dont-show-News-in-Staff-and-opac.patch (text/plain), 800 bytes, created by
Kyle M Hall
on 2014-07-31 15:29:02 UTC
(
hide
)
Description:
Bug 12507 - Don't show News in Staff and opac
Filename:
MIME Type:
Creator:
Kyle M Hall
Created:
2014-07-31 15:29:02 UTC
Size:
800 bytes
patch
obsolete
>From 8c595dd30fb9fddf8d71d8ac9daea8cef4e85e49 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Thu, 31 Jul 2014 11:28:44 -0400 >Subject: [PATCH] Bug 12507 - Don't show News in Staff and opac > >--- > C4/NewsChannels.pm | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/C4/NewsChannels.pm b/C4/NewsChannels.pm >index 47772ef..8694c1b 100644 >--- a/C4/NewsChannels.pm >+++ b/C4/NewsChannels.pm >@@ -197,7 +197,7 @@ sub GetNewsToDisplay { > OR expirationdate IS NULL > OR expirationdate = '00-00-0000' > ) >- AND `timestamp` < CURRENT_DATE()+1 >+ AND DATE(timestamp) < DATE_ADD(CURDATE(), INTERVAL 1 DAY) > AND (lang = '' OR lang = ?) > AND (branchcode IS NULL OR branchcode = ?) > ORDER BY number >-- >1.7.2.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 12507
:
30410
|
30411
|
30412
|
30499