[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 Jan 19 00:07:02 CET 2018
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14272
Aleisha Amohia <aleisha at catalyst.net.nz> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #50559|0 |1
is obsolete| |
--- Comment #38 from Aleisha Amohia <aleisha at catalyst.net.nz> ---
Created attachment 70729
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=70729&action=edit
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>
Fixing merge conflicts
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list