]> 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 Cormack <chrisc@catalyst.net.nz>
Sun, 20 Mar 2011 22:54:21 +0000 (11:54 +1300)
commit632277e453fa80797e1cfc9dc32f1d1d8cc089af
treee78233c8db7f0f27b41a1f584ab9ac7c275b757f
parentddbedbfc2f17bff016736afb5beae39a768a298a
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>
koha-tmpl/intranet-tmpl/prog/en/includes/biblio-view-menu.inc
opac/opac-ISBDdetail.pl
opac/opac-detail.pl