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

(-)a/api/v1/swagger/paths/biblios.yaml (+1 lines)
Lines 472-477 Link Here
472
            - item_type
472
            - item_type
473
            - in_bundle
473
            - in_bundle
474
            - bundle_host
474
            - bundle_host
475
            - bundle_host.biblio
475
            - bundle_items_lost+count
476
            - bundle_items_lost+count
476
            - bundle_items_not_lost+count
477
            - bundle_items_not_lost+count
477
            - course_item.course_reserves.course
478
            - course_item.course_reserves.course
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers/tables/items/catalogue_detail.inc (-9 / +4 lines)
Lines 245-253 Link Here
245
    [% IF Koha.Preference('UseRecalls') %]
245
    [% IF Koha.Preference('UseRecalls') %]
246
        embed.push('recall', 'recall+strings', 'recall.patron')
246
        embed.push('recall', 'recall+strings', 'recall.patron')
247
    [% END %]
247
    [% END %]
248
    [% IF bundlesEnabled %]
248
    embed.push('in_bundle', 'bundle_host', 'bundle_host.biblio', 'bundle_items_lost+count', 'bundle_items_not_lost+count');
249
        embed.push('in_bundle', 'bundle_host', 'bundle_items_lost+count', 'bundle_items_not_lost+count');
250
    [% END %]
251
    [% IF Koha.Preference('UseCourseReserves') %]
249
    [% IF Koha.Preference('UseCourseReserves') %]
252
        embed.push('course_item.course_reserves.course');
250
        embed.push('course_item.course_reserves.course');
253
    [% END %]
251
    [% END %]
Lines 568-578 Link Here
568
                        nodes += '<span class="restricted">(%s)</span>'.format(escape_str(av_restricted.get(row.restricted_status.toString())));
566
                        nodes += '<span class="restricted">(%s)</span>'.format(escape_str(av_restricted.get(row.restricted_status.toString())));
569
                    }
567
                    }
570
568
571
                    [% IF bundlesEnabled %]
569
                    if ( row.in_bundle ) {
572
                        if ( row.in_bundle ) {
570
                        nodes += '<span class="bundled">%s</span>'.format(_("In bundle: %s").format($biblio_to_html(row.bundle_host.biblio, { link: true })));
573
                            nodes += '<span class="bundled">%s</span>'.format(_("In bundle: %s").format($biblio_to_html(row.bundle_host.biblio, { link: true })));
571
                    }
574
                        }
575
                    [% END %]
576
                    return nodes;
572
                    return nodes;
577
                }
573
                }
578
            },
574
            },
579
- 

Return to bug 37393