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

(-)a/catalogue/detail.pl (-1 / +4 lines)
Lines 540-546 my $holds = $biblio->holds; Link Here
540
$template->param( holdcount => $holds->count );
540
$template->param( holdcount => $holds->count );
541
541
542
# Check if there are any ILL requests connected to the biblio
542
# Check if there are any ILL requests connected to the biblio
543
my $illrequests = Koha::Illrequests->search({ biblio_id => $biblionumber });
543
my $illrequests =
544
    C4::Context->preference('ILLModule')
545
  ? Koha::Illrequests->search( { biblio_id => $biblionumber } )
546
  : [];
544
$template->param( illrequests => $illrequests );
547
$template->param( illrequests => $illrequests );
545
548
546
my $StaffDetailItemSelection = C4::Context->preference('StaffDetailItemSelection');
549
my $StaffDetailItemSelection = C4::Context->preference('StaffDetailItemSelection');
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt (-2 / +1 lines)
Lines 128-134 Link Here
128
            </span>
128
            </span>
129
        [% END %]
129
        [% END %]
130
130
131
        [% IF ( Koha.Preference( 'ILLModule' ) && illrequests.count ) %]
131
        [% IF illrequests.count ) %]
132
            <span class="results_summary">
132
            <span class="results_summary">
133
                <span class="label">ILL requests:</span>
133
                <span class="label">ILL requests:</span>
134
                [% IF CAN_user_ill %]
134
                [% IF CAN_user_ill %]
135
- 

Return to bug 20799