View | Details | Raw Unified | Return to bug 19319
Collapse All | Expand All

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-detail-sidebar.inc (-7 / +7 lines)
Lines 4-10 Link Here
4
        [% IF Koha.Preference( 'opacuserlogin' ) == 1 %]
4
        [% IF Koha.Preference( 'opacuserlogin' ) == 1 %]
5
            [% IF Koha.Preference( 'RequestOnOpac' ) == 1 %]
5
            [% IF Koha.Preference( 'RequestOnOpac' ) == 1 %]
6
                [% IF ( AllowOnShelfHolds OR ItemsIssued ) %]
6
                [% IF ( AllowOnShelfHolds OR ItemsIssued ) %]
7
                    <li><a class="reserve" href="/cgi-bin/koha/opac-reserve.pl?biblionumber=[% biblionumber | html %]">Place hold</a></li>
7
                    <li><a class="reserve" href="/cgi-bin/koha/opac-reserve.pl?biblionumber=[% biblio.id %]">Place hold</a></li>
8
                [% END %]
8
                [% END %]
9
            [% END %]
9
            [% END %]
10
        [% END %]
10
        [% END %]
Lines 14-34 Link Here
14
14
15
    [% IF Koha.Preference( 'opacuserlogin' ) == 1 %]
15
    [% IF Koha.Preference( 'opacuserlogin' ) == 1 %]
16
        [% IF Koha.Preference('ArticleRequests') %]
16
        [% IF Koha.Preference('ArticleRequests') %]
17
            <li><a class="article_request" href="/cgi-bin/koha/opac-request-article.pl?biblionumber=[% biblionumber | html %]">Request article</a></li>
17
            <li><a class="article_request" href="/cgi-bin/koha/opac-request-article.pl?biblionumber=[% biblio.id %]">Request article</a></li>
18
        [% END %]
18
        [% END %]
19
    [% END %]
19
    [% END %]
20
20
21
    [% IF Koha.Preference( 'virtualshelves' ) == 1 %]
21
    [% IF Koha.Preference( 'virtualshelves' ) == 1 %]
22
        [% IF ( ( Koha.Preference( 'opacuserlogin' ) == 1 ) && loggedinusername ) %]
22
        [% IF ( ( Koha.Preference( 'opacuserlogin' ) == 1 ) && loggedinusername ) %]
23
            <li><a class="addtoshelf" href="/cgi-bin/koha/opac-addbybiblionumber.pl?biblionumber=[% biblionumber | html %]">Save to your lists</a></li>
23
            <li><a class="addtoshelf" href="/cgi-bin/koha/opac-addbybiblionumber.pl?biblionumber=[% biblio.id %]">Save to your lists</a></li>
24
        [% END %]
24
        [% END %]
25
    [% END %]
25
    [% END %]
26
26
27
    [% IF Koha.Preference( 'opacbookbag' ) == 1 %]
27
    [% IF Koha.Preference( 'opacbookbag' ) == 1 %]
28
        [% IF ( incart ) %]
28
        [% IF ( incart ) %]
29
            <li><a class="incart cart[% biblionumber | html %] addrecord" href="#">In your cart</a> <a class="cartRemove cartR[% biblionumber | html %]" href="#">(remove)</a></li>
29
            <li><a class="incart cart[% biblio.id %] addrecord" href="#">In your cart</a> <a class="cartRemove cartR[% biblio.id %]" href="#">(remove)</a></li>
30
        [% ELSE %]
30
        [% ELSE %]
31
            <li><a class="addtocart cart[% biblionumber | html %] addrecord" href="#">Add to your cart</a>  <a style="display:none;" class="cartRemove cartR[% biblionumber | html %]" href="#">(remove)</a></li>
31
            <li><a class="addtocart cart[% biblio.id %] addrecord" href="#">Add to your cart</a>  <a style="display:none;" class="cartRemove cartR[% biblio.id %]" href="#">(remove)</a></li>
32
        [% END %]
32
        [% END %]
33
    [% END %]
33
    [% END %]
34
34
Lines 51-57 Link Here
51
                                    <li><a role="menuitem" href="#" data-toggle="modal" data-target="#exportModal_">Dublin Core</a></li>
51
                                    <li><a role="menuitem" href="#" data-toggle="modal" data-target="#exportModal_">Dublin Core</a></li>
52
                                [% ELSE %]
52
                                [% ELSE %]
53
                                <li>
53
                                <li>
54
                                    <a role="menuitem" href="/cgi-bin/koha/opac-export.pl?op=export&amp;bib=[% biblionumber | html %]&amp;format=[% option %]">
54
                                    <a role="menuitem" href="/cgi-bin/koha/opac-export.pl?op=export&amp;bib=[% biblio.id %]&amp;format=[% option %]">
55
                                        [% SWITCH option %]
55
                                        [% SWITCH option %]
56
                                            [% CASE 'bibtex' %]BIBTEX
56
                                            [% CASE 'bibtex' %]BIBTEX
57
                                            [% CASE 'endnote' %]EndNote
57
                                            [% CASE 'endnote' %]EndNote
Lines 107-113 Link Here
107
                <label class="label_dc" for="input-srw">SRW-DC</label>
107
                <label class="label_dc" for="input-srw">SRW-DC</label>
108
                <br>
108
                <br>
109
        <input type="hidden" name="op" value="export">
109
        <input type="hidden" name="op" value="export">
110
        <input type="hidden" name="bib" value="[% biblionumber | html %]">
110
        <input type="hidden" name="bib" value="[% biblio.id %]">
111
        </fieldset>
111
        </fieldset>
112
    </div>
112
    </div>
113
    <div class="modal-footer">
113
    <div class="modal-footer">
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-ISBDdetail.tt (-1 / +1 lines)
Lines 19-25 Link Here
19
                    <div id="usermarcdetail">
19
                    <div id="usermarcdetail">
20
                        <div id="catalogue_detail_biblio">
20
                        <div id="catalogue_detail_biblio">
21
                            <div id="views">
21
                            <div id="views">
22
                                <span class="view"><a id="Normalview" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblionumber | html %]">Normal view</a></span> <span class="view"><a id="MARCview" href="/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=[% biblionumber | html %]">MARC view</a></span> <span class="view current-view"><span id="ISBDview">ISBD view</span></span></div>
22
                                <span class="view"><a id="Normalview" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblio.id %]">Normal view</a></span> <span class="view"><a id="MARCview" href="/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=[% biblio.id %]">MARC view</a></span> <span class="view current-view"><span id="ISBDview">ISBD view</span></span></div>
23
23
24
                                <div id="isbdcontents">[% ISBD %]</div>
24
                                <div id="isbdcontents">[% ISBD %]</div>
25
25
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-MARCdetail.tt (-6 / +6 lines)
Lines 1-6 Link Here
1
[% USE Koha %]
1
[% USE Koha %]
2
[% INCLUDE 'doc-head-open.inc' %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo;  MARC details for record no. [% biblionumber | html %]</title>
3
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo;  MARC details for record no. [% biblio.id %]</title>
4
[% INCLUDE 'doc-head-close.inc' %]
4
[% INCLUDE 'doc-head-close.inc' %]
5
[% BLOCK cssinclude %][% END %]
5
[% BLOCK cssinclude %][% END %]
6
</head>
6
</head>
Lines 20-33 Link Here
20
                        <div id="catalogue_detail_biblio">
20
                        <div id="catalogue_detail_biblio">
21
21
22
                            <div id="views">
22
                            <div id="views">
23
                                <span class="view"><a id="Normalview" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblionumber | html %]">Normal view</a></span>
23
                                <span class="view"><a id="Normalview" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblio.id %]">Normal view</a></span>
24
                                <span class="view current-view"><span id="MARCview">MARC view</span></span>
24
                                <span class="view current-view"><span id="MARCview">MARC view</span></span>
25
                                [% IF ( ISBD ) %]<span class="view"><a id="ISBDview"  href="/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=[% biblionumber | html %]">ISBD view</a></span>[% END %]
25
                                [% IF ( ISBD ) %]<span class="view"><a id="ISBDview"  href="/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=[% biblio.id %]">ISBD view</a></span>[% END %]
26
                            </div>
26
                            </div>
27
                            <h1 class="title">[% bibliotitle %] (Record no. [% biblionumber | html %])</h1>
27
                            <h1 class="title">[% bibliotitle %] (Record no. [% biblio.id %])</h1>
28
28
29
                            [% IF ( OPACXSLTDetailsDisplay ) %]
29
                            [% IF ( OPACXSLTDetailsDisplay ) %]
30
                                <div id="switchview_div">[ <a id="switchview" href="/cgi-bin/koha/opac-showmarc.pl?id=[% biblionumber | html %]&amp;viewas=html">view plain</a> ]</div>
30
                                <div id="switchview_div">[ <a id="switchview" href="/cgi-bin/koha/opac-showmarc.pl?id=[% biblio.id %]&amp;viewas=html">view plain</a> ]</div>
31
                                <div id="plainmarc"></div>
31
                                <div id="plainmarc"></div>
32
                            [% END %]
32
                            [% END %]
33
33
Lines 190-196 $(document).ready(function(){ Link Here
190
            $(this).text(_("view labeled"));
190
            $(this).text(_("view labeled"));
191
            $("#labeledmarc").hide();
191
            $("#labeledmarc").hide();
192
            if(!loaded){
192
            if(!loaded){
193
                $("#plainmarc").show().html("<div style=\"margin:1em;padding:1em;border:1px solid #EEE;font-size:150%;\"><img src=\"[% interface %]/[% theme %]/images/loading.gif\" /> "+_("Loading")+"...</div>").load("/cgi-bin/koha/opac-showmarc.pl","id=[% biblionumber | html %]&viewas=html");
193
                $("#plainmarc").show().html("<div style=\"margin:1em;padding:1em;border:1px solid #EEE;font-size:150%;\"><img src=\"[% interface %]/[% theme %]/images/loading.gif\" /> "+_("Loading")+"...</div>").load("/cgi-bin/koha/opac-showmarc.pl","id=[% biblio.id %]&viewas=html");
194
                loaded = 1;
194
                loaded = 1;
195
            } else {
195
            } else {
196
                $("#plainmarc").show();
196
                $("#plainmarc").show();
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt (-17 / +17 lines)
Lines 56-62 Link Here
56
56
57
                    <div id="bookcover">
57
                    <div id="bookcover">
58
                    [% IF ( OPACLocalCoverImages ) %]
58
                    [% IF ( OPACLocalCoverImages ) %]
59
                        <div title="[% biblionumber |url %]" class="[% biblionumber | html %]" id="local-thumbnail-preview"></div>
59
                        <div title="[% biblionumber |url %]" class="[% biblio.id %]" id="local-thumbnail-preview"></div>
60
                    [% END %]
60
                    [% END %]
61
                    [% IF ( OPACAmazonCoverImages ) %]
61
                    [% IF ( OPACAmazonCoverImages ) %]
62
                        [% IF ( OPACURLOpenInNewWindow ) %]
62
                        [% IF ( OPACURLOpenInNewWindow ) %]
Lines 104-118 Link Here
104
                    [% END %]
104
                    [% END %]
105
                    </div><!-- / #bookcover -->
105
                    </div><!-- / #bookcover -->
106
106
107
                    <abbr class="unapi-id" title="koha:biblionumber:[% biblionumber | html %]"><!-- unAPI --></abbr>
107
                    <abbr class="unapi-id" title="koha:biblionumber:[% biblio.id %]"><!-- unAPI --></abbr>
108
                    [% IF ( ocoins ) # COinS / Openurl %]
108
                    [% IF ( ocoins ) # COinS / Openurl %]
109
                        <span class="Z3988" title="[% ocoins %]"></span>
109
                        <span class="Z3988" title="[% ocoins %]"></span>
110
                    [% END %]
110
                    [% END %]
111
111
112
                    <div id="views">
112
                    <div id="views">
113
                        <span class="view current-view"><span id="Normalview">Normal view</span></span>
113
                        <span class="view current-view"><span id="Normalview">Normal view</span></span>
114
                        <span class="view"><a id="MARCview" href="/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=[% biblionumber | html %]">MARC view</a></span>
114
                        <span class="view"><a id="MARCview" href="/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=[% biblio.id %]">MARC view</a></span>
115
                        [% IF ( ISBD ) %]<span class="view"><a id="ISBDview" href="/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=[% biblionumber | html %]">ISBD view</a></span>[% END %]
115
                        [% IF ( ISBD ) %]<span class="view"><a id="ISBDview" href="/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=[% biblio.id %]">ISBD view</a></span>[% END %]
116
                    </div>
116
                    </div>
117
                    [% IF ( OPACXSLTDetailsDisplay ) %]
117
                    [% IF ( OPACXSLTDetailsDisplay ) %]
118
                        [% XSLTBloc %]
118
                        [% XSLTBloc %]
Lines 408-423 Link Here
408
                            [% END %]
408
                            [% END %]
409
                            [% IF ( TagsInputEnabled ) %]
409
                            [% IF ( TagsInputEnabled ) %]
410
                                [% IF ( loggedinusername ) %]
410
                                [% IF ( loggedinusername ) %]
411
                                    <form id="tagform[% biblionumber | html %]" method="post" action="/cgi-bin/koha/opac-tags.pl" style="display:none;">
411
                                    <form id="tagform[% biblio.id %]" method="post" action="/cgi-bin/koha/opac-tags.pl" style="display:none;">
412
                                        <label for="newtag[% biblionumber | html %]">New tag(s), separated by a comma:</label>
412
                                        <label for="newtag[% biblio.id %]">New tag(s), separated by a comma:</label>
413
                                        <input name="newtag[% biblionumber | html %]" id="newtag[% biblionumber | html %]" maxlength="100" type="text"/>
413
                                        <input name="newtag[% biblio.id %]" id="newtag[% biblio.id %]" maxlength="100" type="text"/>
414
                                        <input name="tagbutton" class="btn btn-small tagbutton" title="[% biblionumber | html %]" type="submit" value="Add" />
414
                                        <input name="tagbutton" class="btn btn-small tagbutton" title="[% biblio.id %]" type="submit" value="Add" />
415
                                        <a class="cancel_tag_add" id="cancel[% biblionumber | html %]" href="#">(done)</a>
415
                                        <a class="cancel_tag_add" id="cancel[% biblio.id %]" href="#">(done)</a>
416
                                    </form>
416
                                    </form>
417
                                    <span id="newtag[% biblionumber | html %]_status" class="tagstatus" style="display:none;">
417
                                    <span id="newtag[% biblio.id %]_status" class="tagstatus" style="display:none;">
418
                                        Tag status here.
418
                                        Tag status here.
419
                                    </span>
419
                                    </span>
420
                                    <a class="tag_add" id="tag_add[% biblionumber | html %]" href="#">Add tag(s)</a>
420
                                    <a class="tag_add" id="tag_add[% biblio.id %]" href="#">Add tag(s)</a>
421
                                [% ELSE %]
421
                                [% ELSE %]
422
                                    <span id="login4tags">
422
                                    <span id="login4tags">
423
                                        [% IF Koha.Preference('casAuthentication') %]
423
                                        [% IF Koha.Preference('casAuthentication') %]
Lines 497-503 Link Here
497
497
498
                                <!-- define some hidden vars for ratings -->
498
                                <!-- define some hidden vars for ratings -->
499
499
500
                                <input  type="hidden" name='biblionumber'  value="[% biblionumber | html %]" />
500
                                <input  type="hidden" name='biblionumber'  value="[% biblio.id %]" />
501
                                <input  type="hidden" name='rating_value' id='rating_value' value="[% my_rating.rating_value %]" />
501
                                <input  type="hidden" name='rating_value' id='rating_value' value="[% my_rating.rating_value %]" />
502
502
503
                                [% UNLESS ( rating_readonly ) %]&nbsp;  <input name="rate_button" type="submit" value="Rate me" />[% END %]&nbsp;
503
                                [% UNLESS ( rating_readonly ) %]&nbsp;  <input name="rate_button" type="submit" value="Rate me" />[% END %]&nbsp;
Lines 651-657 Link Here
651
651
652
                    <div id="holdings">
652
                    <div id="holdings">
653
                        [% IF too_many_items %]
653
                        [% IF too_many_items %]
654
                            <p>This record has many physical items ([% items_count %]). <a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblionumber | html %]&amp;viewallitems=1">Click here to view them all.</a></p>
654
                            <p>This record has many physical items ([% items_count %]). <a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblio.id %]&amp;viewallitems=1">Click here to view them all.</a></p>
655
                        [% ELSIF ( itemloop.size ) %]
655
                        [% ELSIF ( itemloop.size ) %]
656
                            [% INCLUDE items_table items=itemloop tab="holdings" %]
656
                            [% INCLUDE items_table items=itemloop tab="holdings" %]
657
                            [% IF Koha.Preference('OPACAcquisitionDetails') and acquisition_details.total_quantity > 0 %]
657
                            [% IF Koha.Preference('OPACAcquisitionDetails') and acquisition_details.total_quantity > 0 %]
Lines 874-880 Link Here
874
                                    </table>
874
                                    </table>
875
                                [% END # / IF subscription.latestserials %]
875
                                [% END # / IF subscription.latestserials %]
876
                            [% END # / FOREACH subscriptions %]
876
                            [% END # / FOREACH subscriptions %]
877
                            <p class="subscription_moredetails"><a href="opac-serial-issues.pl?biblionumber=[% biblionumber | html %]">More details</a></p>
877
                            <p class="subscription_moredetails"><a href="opac-serial-issues.pl?biblionumber=[% biblio.id %]">More details</a></p>
878
                        </div> <!-- / #subscriptions -->
878
                        </div> <!-- / #subscriptions -->
879
                    [% END # IF subscriptionsnumber %]
879
                    [% END # IF subscriptionsnumber %]
880
880
Lines 958-964 Link Here
958
958
959
                                [% IF ( loggedinusername ) %]
959
                                [% IF ( loggedinusername ) %]
960
                                    [% UNLESS ( loggedincommenter ) %]
960
                                    [% UNLESS ( loggedincommenter ) %]
961
                                       <div id="addcomment"> <a href="#" onclick="Dopop('/cgi-bin/koha/opac-review.pl?biblionumber=[% biblionumber | html %]'); return false;">
961
                                       <div id="addcomment"> <a href="#" onclick="Dopop('/cgi-bin/koha/opac-review.pl?biblionumber=[% biblio.id %]'); return false;">
962
                                            Post your comments on this item.
962
                                            Post your comments on this item.
963
                                        </a></div>
963
                                        </a></div>
964
                                    [% END %]
964
                                    [% END %]
Lines 1031-1037 Link Here
1031
                                <p>Click on an image to view it in the image viewer</p>
1031
                                <p>Click on an image to view it in the image viewer</p>
1032
                                [% FOREACH image IN localimages %]
1032
                                [% FOREACH image IN localimages %]
1033
                                    [% IF image %]
1033
                                    [% IF image %]
1034
                                        <a class="localimage" href="/cgi-bin/koha/opac-imageviewer.pl?biblionumber=[% biblionumber | html %]&amp;imagenumber=[% image %]"><img alt="" src="/cgi-bin/koha/opac-image.pl?thumbnail=1&amp;imagenumber=[% image %]" /></a>
1034
                                        <a class="localimage" href="/cgi-bin/koha/opac-imageviewer.pl?biblionumber=[% biblio.id %]&amp;imagenumber=[% image %]"><img alt="" src="/cgi-bin/koha/opac-image.pl?thumbnail=1&amp;imagenumber=[% image %]" /></a>
1035
                                    [% END %]
1035
                                    [% END %]
1036
                                [% END %]
1036
                                [% END %]
1037
                            </div><!-- / #images -->
1037
                            </div><!-- / #images -->
Lines 1645-1651 Link Here
1645
              $.post("/cgi-bin/koha/opac-ratings-ajax.pl", {
1645
              $.post("/cgi-bin/koha/opac-ratings-ajax.pl", {
1646
                rating_old_value: $("#rating_value").attr("value"),
1646
                rating_old_value: $("#rating_value").attr("value"),
1647
                borrowernumber: "[% borrowernumber %]",
1647
                borrowernumber: "[% borrowernumber %]",
1648
                biblionumber: "[% biblionumber | html %]",
1648
                biblionumber: "[% biblio.id %]",
1649
                rating_value: value,
1649
                rating_value: value,
1650
                auth_error: value
1650
                auth_error: value
1651
              }, function (data) {
1651
              }, function (data) {
(-)a/opac/opac-ISBDdetail.pl (-2 / +4 lines)
Lines 55-61 use C4::Koha; Link Here
55
use Koha::ItemTypes;
55
use Koha::ItemTypes;
56
use Koha::Patrons;
56
use Koha::Patrons;
57
use Koha::RecordProcessor;
57
use Koha::RecordProcessor;
58
58
use Koha::Biblios;
59
59
60
my $query = CGI->new();
60
my $query = CGI->new();
61
my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
61
my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
Lines 71-76 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
71
my $biblionumber = $query->param('biblionumber');
71
my $biblionumber = $query->param('biblionumber');
72
$biblionumber = int($biblionumber);
72
$biblionumber = int($biblionumber);
73
73
74
my $biblio = Koha::Biblios->find( $biblionumber );
75
74
# get biblionumbers stored in the cart
76
# get biblionumbers stored in the cart
75
if(my $cart_list = $query->cookie("bib_list")){
77
if(my $cart_list = $query->cookie("bib_list")){
76
    my @cart_list = split(/\//, $cart_list);
78
    my @cart_list = split(/\//, $cart_list);
Lines 185-191 $template->param( Link Here
185
    AllowOnShelfHolds   => $allow_onshelf_holds,
187
    AllowOnShelfHolds   => $allow_onshelf_holds,
186
    norequests   => $norequests,
188
    norequests   => $norequests,
187
    ISBD         => $res,
189
    ISBD         => $res,
188
    biblionumber => $biblionumber,
190
    biblio       => $biblio,
189
);
191
);
190
192
191
#Search for title in links
193
#Search for title in links
(-)a/opac/opac-MARCdetail.pl (-1 / +1 lines)
Lines 349-355 $template->param( Link Here
349
    item_loop           => \@item_loop,
349
    item_loop           => \@item_loop,
350
    item_header_loop    => \@item_header_loop,
350
    item_header_loop    => \@item_header_loop,
351
    item_subfield_codes => \@item_subfield_codes,
351
    item_subfield_codes => \@item_subfield_codes,
352
    biblionumber        => $biblionumber,
352
    biblio              => $biblio,
353
);
353
);
354
354
355
output_html_with_http_headers $query, $cookie, $template->output;
355
output_html_with_http_headers $query, $cookie, $template->output;
(-)a/opac/opac-detail.pl (-3 / +2 lines)
Lines 79-84 my ( $template, $borrowernumber, $cookie ) = get_template_and_user( Link Here
79
79
80
my $biblionumber = $query->param('biblionumber') || $query->param('bib') || 0;
80
my $biblionumber = $query->param('biblionumber') || $query->param('bib') || 0;
81
$biblionumber = int($biblionumber);
81
$biblionumber = int($biblionumber);
82
my $biblio = Koha::Biblios->find( $biblionumber );
82
83
83
my @all_items = GetItemsInfo($biblionumber);
84
my @all_items = GetItemsInfo($biblionumber);
84
my @hiddenitems;
85
my @hiddenitems;
Lines 137-143 if (C4::Context->preference('OpacSuppression')) { Link Here
137
    }
138
    }
138
}
139
}
139
140
140
$template->param( biblionumber => $biblionumber );
141
$template->param( biblio => $biblio );
141
142
142
# get biblionumbers stored in the cart
143
# get biblionumbers stored in the cart
143
my @cart_list;
144
my @cart_list;
Lines 605-611 for ( C4::Context->preference("OPACShowHoldQueueDetails") ) { Link Here
605
}
606
}
606
my $has_hold;
607
my $has_hold;
607
if ( $show_holds_count || $show_priority) {
608
if ( $show_holds_count || $show_priority) {
608
    my $biblio = Koha::Biblios->find( $biblionumber );
609
    my $holds = $biblio->holds;
609
    my $holds = $biblio->holds;
610
    $template->param( holds_count  => $holds->count );
610
    $template->param( holds_count  => $holds->count );
611
    while ( my $hold = $holds->next ) {
611
    while ( my $hold = $holds->next ) {
612
- 

Return to bug 19319