Bugzilla – Attachment 139825 Details for
Bug 31450
HTML customizations and News will not display on OPAC without Publication date
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 31450 - HTML customizations and News will not display on OPAC without Publication date
Bug-31450---HTML-customizations-and-News-will-not-.patch (text/plain), 1.53 KB, created by
Paul Derscheid
on 2022-08-26 12:32:45 UTC
(
hide
)
Description:
Bug 31450 - HTML customizations and News will not display on OPAC without Publication date
Filename:
MIME Type:
Creator:
Paul Derscheid
Created:
2022-08-26 12:32:45 UTC
Size:
1.53 KB
patch
obsolete
>From 4754a8062c8870f4adc988360fe2ee2316ec50f1 Mon Sep 17 00:00:00 2001 >From: Paul Derscheid <paul.derscheid@lmscloud.de> >Date: Fri, 26 Aug 2022 14:32:07 +0200 >Subject: [PATCH] Bug 31450 - HTML customizations and News will not display on > OPAC without Publication date > >To test: >1) Create some HTML Customizations and some News items that are set to display on the OPAC. Create one of each: [ 'With publication date today', 'With publication date in the future', 'Without publication date' ] >2) Note that news with publication date 'today' will display; with publication date 'in the future' will not display; with publication date unset will not display. >3) Note that html_customizations with date 'today' will display; with publication date 'in the future' will not display; with publication date unset will display. >4) Sign-Off >--- > Koha/AdditionalContents.pm | 4 ---- > 1 file changed, 4 deletions(-) > >diff --git a/Koha/AdditionalContents.pm b/Koha/AdditionalContents.pm >index 2922c00e5d..7d2138f9f8 100644 >--- a/Koha/AdditionalContents.pm >+++ b/Koha/AdditionalContents.pm >@@ -19,8 +19,6 @@ package Koha::AdditionalContents; > > use Modern::Perl; > >-use Data::Dumper; >- > use Koha::Database; > use Koha::Exceptions; > use Koha::AdditionalContent; >@@ -71,8 +69,6 @@ location is one of this: > sub search_for_display { > my ( $self, $params ) = @_; > >- warn Dumper($params); >- > my $search_params; > $search_params->{location} = $params->{location}; > $search_params->{branchcode} = $params->{library_id} ? [ $params->{library_id}, undef ] : undef; >-- >2.31.1
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 31450
:
139824
|
139825
|
146914
|
146915
|
146925
|
146926
|
146927