]> git.koha-community.org Git - koha.git/commit
Bug 5864: link biblio => serials subscription is wrong
authorJulian Maurice <julian.maurice@biblibre.com>
Fri, 18 Mar 2011 10:15:08 +0000 (10:15 +0000)
committerChris Nighswonger <chris.nighswonger@gmail.com>
Tue, 22 Mar 2011 21:32:15 +0000 (17:32 -0400)
commit003e3c75f9bfff4d6be956ea5465035e799e69a6
treece8f55835afb2b8fdb40e6dd80e4b8e47de6370c
parent320bb8e0bbc64d3396e3b8092a63a6e02d0ba7c9
Bug 5864: link biblio => serials subscription is wrong

The GetSubscription function can be called with 3 parameters : title,
issn, biblionumber.
In biblio view (both opac & staff interface), the link to jump from the
biblio to the subscription(s) was done using title.

The result was that for a title like "Science", all subscriptions
containing "science" in the title were linked.
That's too much and that's false.

This commit fixes this problem by calling GetSubscription with
biblionumber only where applicable.

Signed-off-by: Magnus Enger <magnus@enger.priv.no>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 632277e453fa80797e1cfc9dc32f1d1d8cc089af)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
koha-tmpl/intranet-tmpl/prog/en/includes/biblio-view-menu.inc
opac/opac-ISBDdetail.pl
opac/opac-detail.pl