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 800-806 Link Here
800
                                        [% END %]
800
                                        [% END %]
801
                                        [% IF ( subscription.latestserials ) %]
801
                                        [% IF ( subscription.latestserials ) %]
802
                                            <p class="subscription_latestissues"> The [% subscription.opacdisplaycount | html %] latest issues for this subscription:</p>
802
                                            <p class="subscription_latestissues"> The [% subscription.opacdisplaycount | html %] latest issues for this subscription:</p>
803
                                            <table class="table table-bordered table-striped" id="subscriptionst">
803
                                            <table class="table table-bordered table-striped subscriptionst">
804
                                                <caption class="sr-only">Latest serials</caption>
804
                                                <caption class="sr-only">Latest serials</caption>
805
                                                <thead>
805
                                                <thead>
806
                                                    <tr>
806
                                                    <tr>
Lines 1886-1892 Link Here
1886
1886
1887
            var serial_table_settings = [% TablesSettings.GetTableSettings( 'opac', 'biblio-detail', 'subscriptionst', 'json' ) | $raw %];
1887
            var serial_table_settings = [% TablesSettings.GetTableSettings( 'opac', 'biblio-detail', 'subscriptionst', 'json' ) | $raw %];
1888
1888
1889
            KohaTable("#subscriptionst", {
1889
            KohaTable(".subscriptionst", {
1890
                dom: '<"clearfix">t',
1890
                dom: '<"clearfix">t',
1891
                "sorting": [[ 1, "desc" ]],
1891
                "sorting": [[ 1, "desc" ]],
1892
                "bKohaColumnsUseNames": true,
1892
                "bKohaColumnsUseNames": true,
Lines 1898-1904 Link Here
1898
                ],
1898
                ],
1899
            }, serial_table_settings);
1899
            }, serial_table_settings);
1900
1900
1901
            var dTables = $("#holdingst,#subscriptionst,#otherholdingst");
1901
            var dTables = $("#holdingst,.subscriptionst,#otherholdingst");
1902
            $('a[data-bs-toggle="tab"]').on('shown.bs.tab', function (event) {
1902
            $('a[data-bs-toggle="tab"]').on('shown.bs.tab', function (event) {
1903
                dTables.DataTable().responsive.recalc();
1903
                dTables.DataTable().responsive.recalc();
1904
            } );
1904
            } );
1905
- 

Return to bug 35202