[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 Mar 9 08:06:15 CET 2018


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14272

Katrin Fischer <katrin.fischer at bsz-bw.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #70729|0                           |1
        is obsolete|                            |

--- Comment #45 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
Created attachment 72550
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=72550&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

Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list