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

(-)a/catalogue/detail.pl (-3 / +1 lines)
Lines 539-547 if (C4::Context->preference("FRBRizeEditions")==1) { Link Here
539
}
539
}
540
540
541
if ( C4::Context->preference("LocalCoverImages") == 1 ) {
541
if ( C4::Context->preference("LocalCoverImages") == 1 ) {
542
    my $images = $biblio->cover_images;
543
    $template->param(
542
    $template->param(
544
        localimages => $biblio->cover_images->search(
543
        localimages => scalar $biblio->cover_images->search(
545
            {}, { order_by => [ \"COALESCE(itemnumber, 0, 1)", 'timestamp' ] }
544
            {}, { order_by => [ \"COALESCE(itemnumber, 0, 1)", 'timestamp' ] }
546
        ),
545
        ),
547
    );
546
    );
548
- 

Return to bug 30976