From 93a18939e8753b578b97cc122010e57a995ae590 Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Thu, 21 Apr 2011 14:36:11 -0400 Subject: [PATCH] Bug 6234: Fixing missing biblionumber for links using biblio-default-view.inc Fixes various pages where the biblionumber was missing in links to the detail page of a record. Should also fix 6241. Signed-off-by: Katrin Fischer I made the changes Owen suggested - added the class="ratiolimit" back - fixed additional link in waitingreserve.tt Signed-off-by: Owen Leonard Signed-off-by: Chris Cormack --- .../intranet-tmpl/prog/en/modules/circ/branchoverdues.tt | 2 +- koha-tmpl/intranet-tmpl/prog/en/modules/circ/overdue.tt | 2 +- .../intranet-tmpl/prog/en/modules/circ/pendingreserves.tt | 2 +- koha-tmpl/intranet-tmpl/prog/en/modules/circ/reserveratios.tt | 2 +- .../intranet-tmpl/prog/en/modules/circ/transferstoreceive.tt | 2 +- .../intranet-tmpl/prog/en/modules/circ/waitingreserves.tt | 4 ++-- .../intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchoverdues.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchoverdues.tt index 7d5ea13ee3..a8a8912f8b 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchoverdues.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchoverdues.tt @@ -43,7 +43,7 @@ [% overduesloo.date_due %] - [% INCLUDE 'biblio-default-view.inc' %][% overduesloo.title |html %] [% IF ( overduesloo.subtitle ) %][% overduesloo.subtitle %][% END %] [% IF ( overduesloo.author ) %] by [% overduesloo.author %][% END %] + [% INCLUDE 'biblio-default-view.inc' biblionumber = overduesloo.biblionumber %][% overduesloo.title |html %] [% IF ( overduesloo.subtitle ) %][% overduesloo.subtitle %][% END %] [% IF ( overduesloo.author ) %] by [% overduesloo.author %][% END %]
Barcode : [% overduesloo.barcode %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/overdue.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/overdue.tt index 9be6c3502b..9f4ec8d3e6 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/overdue.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/overdue.tt @@ -120,7 +120,7 @@ [% IF ( overdueloo.email ) %][email][% END %] ([% IF ( overdueloo.phone ) %][% overdueloo.phone %][% ELSIF ( overdueloo.mobile ) %][% overdueloo.mobile %][% ELSIF ( overdueloo.phonepro ) %][% overdueloo.phonepro %][% END %]) [% overdueloo.branchcode %] - [% INCLUDE 'biblio-default-view.inc' %][% overdueloo.title |html %] [% overdueloo.subtitle %] [% IF ( overdueloo.author ) %], by [% overdueloo.author %][% END %] + [% INCLUDE 'biblio-default-view.inc' biblionumber = overdueloo.biblionumber %][% overdueloo.title |html %] [% overdueloo.subtitle %] [% IF ( overdueloo.author ) %], by [% overdueloo.author %][% END %] [% overdueloo.barcode %] [% overdueloo.itemcallnumber %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt index 75fcb52198..5668a75324 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt @@ -118,7 +118,7 @@ $.tablesorter.addParser({ [% reserveloo.rcount %]

- [% INCLUDE 'biblio-default-view.inc' %] + [% INCLUDE 'biblio-default-view.inc' biblionumber = reserveloo.biblionumber %] [% reserveloo.title |html %] [% reserveloo.subtitle %]

diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/reserveratios.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/reserveratios.tt index c14a323431..30e676e45a 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/reserveratios.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/reserveratios.tt @@ -91,7 +91,7 @@ $.tablesorter.addParser({

[% reserveloo.reservecount %]

[% reserveloo.itemcount %]

[% reserveloo.thisratio %]

- [% INCLUDE 'biblio-default-view.inc' %][% reserveloo.title |html %] [% IF ( reserveloo.subtitle ) %][% FOREACH subtitl IN reserveloo.subtitle %][% subtitl.subfield %][% END %][% END %][% IF ( reserveloo.author ) %] by [% reserveloo.author %][% END %] + [% INCLUDE 'biblio-default-view.inc' biblionumber = reserveloo.biblionumber %][% reserveloo.title |html %] [% IF ( reserveloo.subtitle ) %][% FOREACH subtitl IN reserveloo.subtitle %][% subtitl.subfield %][% END %][% END %][% IF ( reserveloo.author ) %] by [% reserveloo.author %][% END %]

[% reserveloo.listbranch %]

[% reserveloo.location %]

diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/transferstoreceive.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/transferstoreceive.tt index c999108ff2..50d7ae33c3 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/transferstoreceive.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/transferstoreceive.tt @@ -59,7 +59,7 @@ $(document).ready(function() { [% END %]

[% reser.datetransfer %]

[% IF ( reser.messcompa ) %]Transfer is [% reser.diff %] days late[% END %] [% reser.title |html %] - [% INCLUDE 'biblio-default-view.inc' %][% reser.title |html %] [% IF ( reser.subtitle ) %] [% FOREACH subtitl IN reser.subtitle %][% subtitl.subfield %][% END %][% END %] [% IF ( reser.author ) %]by [% reser.author %][% END %] + [% INCLUDE 'biblio-default-view.inc' biblionumber = reser.biblionumber %][% reser.title |html %] [% IF ( reser.subtitle ) %] [% FOREACH subtitl IN reser.subtitle %][% subtitl.subfield %][% END %][% END %] [% IF ( reser.author ) %]by [% reser.author %][% END %] [% IF ( reser.itemtype ) %]  ([% reser.itemtype %])[% END %]
Barcode: [% reser.barcode %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/waitingreserves.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/waitingreserves.tt index 5c92d46942..39400bfaba 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/waitingreserves.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/waitingreserves.tt @@ -84,7 +84,7 @@ $.tablesorter.addParser({ [% FOREACH reserveloo IN reserveloop %]

[% reserveloo.waitingdate %]

- [% INCLUDE 'biblio-default-view.inc' %] + [% INCLUDE 'biblio-default-view.inc' biblionumber = reserveloo.biblionumber %] [% reserveloo.title |html %] [% reserveloo.subtitle |html %]   ([% reserveloo.itemtype %]) @@ -129,7 +129,7 @@ $.tablesorter.addParser({ [% FOREACH overloo IN overloop %]

[% overloo.waitingdate %]

- [% INCLUDE 'biblio-default-view.inc' %][% overloo.title |html %] [% overloo.subtitle |html %] + [% INCLUDE 'biblio-default-view.inc' biblionumber = overloo.biblionumber %][% overloo.title |html %] [% overloo.subtitle |html %] [% UNLESS ( item_level_itypes ) %][% IF ( overloo.itemtype ) %]  ([% overloo.itemtype %])[% END %][% END %]
Barcode: [% overloo.barcode %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt index e4db6200ee..d6ffbcf03f 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt @@ -196,7 +196,7 @@ function placeHold () { [% UNLESS ( noItemTypeImages ) %][% itemsloo.description %][% END %][% itemsloo.description %] [% END %] - [% INCLUDE 'biblio-default-view.inc' %] + [% INCLUDE 'biblio-default-view.inc' biblionumber = itemsloo.biblionumber %] [% itemsloo.title |html %][% FOREACH subtitl IN itemsloo.subtitle %] [% subtitl.subfield %][% END %] [% itemsloo.author %] -- 2.39.5