[Koha-bugs] [Bug 14272] Allow OPAC to show a single news item
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Feb 5 02:20:50 CET 2016
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14272
Aleisha Amohia <aleishaamohia at hotmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #47558|0 |1
is obsolete| |
--- Comment #27 from Aleisha Amohia <aleishaamohia at hotmail.com> ---
Created attachment 47673
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=47673&action=edit
[SIGNED-OFF] Bug 14272: Show single news item (OPAC)
This change makes the news shown on opac-main-pl have
clickable headings which shows just that news item in isolation.
This is to allow further patches that adds commentary functions.
Sponsored-By: Halland County Library
Test plan:
* Apply this patch.
* Go to OPAC main, you should see multiple news items by default.
* If you do not see any, go to Staff interface and add a few.
* Each nees item heading should be clickable.
* When clicked only that item should be shown.
* When 'news_id' is present, only a single news item should show.
* The breadcrumb should say 'News item' after 'Home'.
Updates:
* Renamed URL parameter and local variables with 'news_' prefix.
* Fixed Search-And-Replace error; 'news_news_id' => 'news_id'
* Added breadcrumb for viewing single news item.
* Updated OPAC to use new GetNewsToDisplay parameters
* Fixed template formatting and calling of GetNewsToDisplay
Signed-off-by: Aleisha <aleishaamohia at hotmail.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list