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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers/tables/items/catalogue_detail.inc (-2 / +9 lines)
Lines 136-142 Link Here
136
                tab.find(".show_filters").hide();
136
                tab.find(".show_filters").hide();
137
                tab.find(".hide_filters").show();
137
                tab.find(".hide_filters").show();
138
                $("#"+tab_id+"_table thead tr:eq(1)").remove();
138
                $("#"+tab_id+"_table thead tr:eq(1)").remove();
139
                build_items_table(tab_id, true, { dom: dataTablesDefaults.dom, destroy: true } );
139
                build_items_table(tab_id, true, { destroy: true } );
140
            });
140
            });
141
141
142
            $(".hide_filters").on("click",function(e){
142
            $(".hide_filters").on("click",function(e){
Lines 146-152 Link Here
146
                tab.find(".hide_filters").hide();
146
                tab.find(".hide_filters").hide();
147
                tab.find(".show_filters").show();
147
                tab.find(".show_filters").show();
148
                $("#"+tab_id+"_table thead tr:eq(1)").remove();
148
                $("#"+tab_id+"_table thead tr:eq(1)").remove();
149
                build_items_table(tab_id, false, { dom: '<"dt-info"i><"top pager"lpfB><"#filter_c">tr<"bottom pager"ip>', destroy: true } );
149
                build_items_table(tab_id, false, { destroy: true } );
150
            });
150
            });
151
        });
151
        });
152
    [% END %]
152
    [% END %]
Lines 723-728 Link Here
723
                        });
723
                        });
724
                    }
724
                    }
725
                );
725
                );
726
727
                if (!add_filters && settings._iRecordsDisplay == settings._iRecordsTotal && settings._iDisplayLength >= settings._iRecordsDisplay){
728
                    let container = $(this).parent();
729
                    container.find(".dt-info").remove();
730
                    container.find(".top.pager").remove();
731
                    container.find(".bottom.pager").remove();
732
                }
726
            },
733
            },
727
            [% END %]
734
            [% END %]
728
            ...dt_options,
735
            ...dt_options,
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt (-2 / +1 lines)
Lines 1710-1716 Link Here
1710
1710
1711
            let items_tab_ids = [ 'holdings', 'otherholdings' ];
1711
            let items_tab_ids = [ 'holdings', 'otherholdings' ];
1712
            items_tab_ids.forEach( function( tab_id, index ) {
1712
            items_tab_ids.forEach( function( tab_id, index ) {
1713
                build_items_table(tab_id, false, { dom: 'C<"top pager"ilpfB><"#filter_c">tr<"bottom pager"ip>' });
1713
                build_items_table(tab_id, false);
1714
1714
1715
                [% IF bundlesEnabled %]
1715
                [% IF bundlesEnabled %]
1716
                // Add event listener for opening and closing bundle details
1716
                // Add event listener for opening and closing bundle details
1717
- 

Return to bug 33568