[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
Wed Dec 23 10:39:27 CET 2015


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

Martin Persson <xarragon at gmail.com> changed:

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

--- Comment #12 from Martin Persson <xarragon at gmail.com> ---
Created attachment 45937
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=45937&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

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


More information about the Koha-bugs mailing list