Bugzilla – Attachment 83430 Details for
Bug 14272
Allow OPAC to show a single news entry
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 14272: (follow-up) Show single display of 'all' news
Bug-14272-follow-up-Show-single-display-of-all-new.patch (text/plain), 1016 bytes, created by
Katrin Fischer
on 2018-12-20 20:55:31 UTC
(
hide
)
Description:
Bug 14272: (follow-up) Show single display of 'all' news
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2018-12-20 20:55:31 UTC
Size:
1016 bytes
patch
obsolete
>From ba3fc6c8c43b77d85d70bf752e2bbc0a1101034b Mon Sep 17 00:00:00 2001 >From: Aleisha Amohia <aleishaamohia@hotmail.com> >Date: Wed, 28 Nov 2018 22:01:41 +0000 >Subject: [PATCH] Bug 14272: (follow-up) Show single display of 'all' news > >This patch ensures that news items with location set to 'all' can be >clicked on and shown individually also. > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > opac/opac-main.pl | 5 +---- > 1 file changed, 1 insertion(+), 4 deletions(-) > >diff --git a/opac/opac-main.pl b/opac/opac-main.pl >index e651a555a3..fbfd925d49 100755 >--- a/opac/opac-main.pl >+++ b/opac/opac-main.pl >@@ -67,10 +67,7 @@ my $news_id = $input->param('news_id'); > my @all_koha_news; > > if (defined $news_id){ >- @all_koha_news = Koha::News->search({ >- idnew => $news_id, >- lang => $news_lang, >- }); >+ @all_koha_news = Koha::News->search({ idnew => $news_id }); > if (scalar @all_koha_news > 0){ > $template->param( news_item => @all_koha_news ); > } else { >-- >2.11.0
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 14272
:
45721
|
45740
|
45741
|
45818
|
45820
|
45845
|
45846
|
45935
|
45936
|
45937
|
47556
|
47557
|
47558
|
47665
|
47666
|
47667
|
47668
|
47669
|
47670
|
47671
|
47672
|
47673
|
50557
|
50558
|
50559
|
59483
|
70728
|
70729
|
70730
|
70731
|
72065
|
72548
|
72549
|
72550
|
72551
|
76015
|
76307
|
76580
|
76662
|
77546
|
77564
|
77565
|
77566
|
77567
|
77568
|
77569
|
78104
|
78206
|
78207
|
78208
|
78231
|
81643
|
82713
|
83425
|
83426
|
83427
|
83428
|
83429
|
83430
|
84868
|
84869
|
84870
|
84871
|
84872
|
84873
|
84874