[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 16 23:47:45 CET 2015


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

Martin Persson <xarragon at gmail.com> changed:

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

--- Comment #4 from Martin Persson <xarragon at gmail.com> ---
Created attachment 45741
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=45741&action=edit
Bug 14272: OPAC show single news

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 nes item heading should be clickable.
  * When clicked only that item should be shown.
    * The URL should contain a new parameter named 'news_id'.
    * When 'news_id' is present, only a single news item should show.

Updates:
  * Renamed URL parameter and local variables with 'news_' prefix.
  * Fixed Search-And-Replace error; 'news_news_id' => 'news_id'

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


More information about the Koha-bugs mailing list