[Koha-bugs] [Bug 13729] Give news in Opac a unique anchor

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Feb 18 22:53:31 CET 2015


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

Magnus Enger <magnus at enger.priv.no> changed:

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

--- Comment #2 from Magnus Enger <magnus at enger.priv.no> ---
Created attachment 36009
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=36009&action=edit
Bug 13729 - [SIGNED-OFF] Give news in Opac a unique anchor

This patch introduces the use of the idnew-value from the opac_news table as a
base for a unique anchor on each newsitem in Opac.

The anchor can be used for linking to specific newsitems and also for improving
bug 7843 (RSS stream for news) with a unique link to each item in the RSS
stream.

Test plan:
* Make shure you have a few news in the opac. Best is if it's enough to hide a
few beneath the bottom of the window.
* Install the patch.
* Verify that you can access newitems with links like
mykoha/cgi-bin/koha/opac-main.pl#newsitem4
* Experiment with removing newsitems and verify that that the newsitem-id stay
unique to each newsitem.

Signed-off-by: Magnus Enger <magnus at enger.priv.no>
Works as advertised. Nice enhancement!

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


More information about the Koha-bugs mailing list