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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt (-4 / +3 lines)
Lines 749-755 Link Here
749
                                        [% END %]
749
                                        [% END %]
750
                                        [% IF ( subscription.latestserials ) %]
750
                                        [% IF ( subscription.latestserials ) %]
751
                                            <p class="subscription_latestissues"> The [% subscription.opacdisplaycount | html %] latest issues for this subscription:</p>
751
                                            <p class="subscription_latestissues"> The [% subscription.opacdisplaycount | html %] latest issues for this subscription:</p>
752
                                            <table class="table table-bordered table-striped" id="subscriptionst">
752
                                            <table class="table table-bordered table-striped subscriptionst">
753
                                                <caption class="sr-only">Latest serials</caption>
753
                                                <caption class="sr-only">Latest serials</caption>
754
                                                <thead>
754
                                                <thead>
755
                                                    <tr>
755
                                                    <tr>
Lines 1770-1776 Link Here
1770
1770
1771
            var serial_table_settings = [% TablesSettings.GetTableSettings( 'opac', 'biblio-detail', 'subscriptionst', 'json' ) | $raw %];
1771
            var serial_table_settings = [% TablesSettings.GetTableSettings( 'opac', 'biblio-detail', 'subscriptionst', 'json' ) | $raw %];
1772
1772
1773
            KohaTable("#subscriptionst", {
1773
            KohaTable(".subscriptionst", {
1774
                dom: '<"clearfix">t',
1774
                dom: '<"clearfix">t',
1775
                "sorting": [[ 1, "desc" ]],
1775
                "sorting": [[ 1, "desc" ]],
1776
                "bKohaColumnsUseNames": true,
1776
                "bKohaColumnsUseNames": true,
Lines 1782-1788 Link Here
1782
                ],
1782
                ],
1783
            }, serial_table_settings);
1783
            }, serial_table_settings);
1784
1784
1785
            var dTables = $("#holdingst,#subscriptionst,#otherholdingst");
1785
            var dTables = $("#holdingst,.subscriptionst,#otherholdingst");
1786
            $('a[data-bs-toggle="tab"]').on('shown.bs.tab', function (event) {
1786
            $('a[data-bs-toggle="tab"]').on('shown.bs.tab', function (event) {
1787
                dTables.DataTable().responsive.recalc();
1787
                dTables.DataTable().responsive.recalc();
1788
            } );
1788
            } );
1789
- 

Return to bug 35202