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

(-)a/api/v1/swagger/paths/biblios.yaml (+1 lines)
Lines 443-448 Link Here
443
            - item_type
443
            - item_type
444
            - in_bundle
444
            - in_bundle
445
            - bundle_host
445
            - bundle_host
446
            - bundle_host.biblio
446
            - bundle_items_lost+count
447
            - bundle_items_lost+count
447
            - bundle_items_not_lost+count
448
            - bundle_items_not_lost+count
448
            - course_item.course_reserves.course
449
            - course_item.course_reserves.course
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers/tables/items/catalogue_detail.inc (-9 / +4 lines)
Lines 223-231 Link Here
223
    [% IF Koha.Preference('UseRecalls') %]
223
    [% IF Koha.Preference('UseRecalls') %]
224
        embed.push('recall', 'recall+strings', 'recall.patron')
224
        embed.push('recall', 'recall+strings', 'recall.patron')
225
    [% END %]
225
    [% END %]
226
    [% IF bundlesEnabled %]
226
    embed.push('in_bundle', 'bundle_host', 'bundle_host.biblio', 'bundle_items_lost+count', 'bundle_items_not_lost+count');
227
        embed.push('in_bundle', 'bundle_host', 'bundle_items_lost+count', 'bundle_items_not_lost+count');
228
    [% END %]
229
    [% IF Koha.Preference('UseCourseReserves') %]
227
    [% IF Koha.Preference('UseCourseReserves') %]
230
        embed.push('course_item.course_reserves.course');
228
        embed.push('course_item.course_reserves.course');
231
    [% END %]
229
    [% END %]
Lines 541-551 Link Here
541
                        nodes += '<span class="restricted">(%s)</span>'.format(escape_str(av_restricted.get(row.restricted_status.toString())));
539
                        nodes += '<span class="restricted">(%s)</span>'.format(escape_str(av_restricted.get(row.restricted_status.toString())));
542
                    }
540
                    }
543
541
544
                    [% IF bundlesEnabled %]
542
                    if ( row.in_bundle ) {
545
                        if ( row.in_bundle ) {
543
                        nodes += '<span class="bundled">%s</span>'.format(_("In bundle: %s").format($biblio_to_html(row.bundle_host.biblio, { link: true })));
546
                            nodes += '<span class="bundled">%s</span>'.format(_("In bundle: %s").format($biblio_to_html(row.bundle_host.biblio, { link: true })));
544
                    }
547
                        }
548
                    [% END %]
549
                    return nodes;
545
                    return nodes;
550
                }
546
                }
551
            },
547
            },
552
- 

Return to bug 37393