Lines 1746-1786
Link Here
|
1746 |
|
1746 |
|
1747 |
var table_settings = [% TablesSettings.GetTableSettings( 'opac', 'biblio-detail', 'holdingst', 'json' ) | $raw %]; |
1747 |
var table_settings = [% TablesSettings.GetTableSettings( 'opac', 'biblio-detail', 'holdingst', 'json' ) | $raw %]; |
1748 |
|
1748 |
|
1749 |
KohaTable("#holdingst", { |
1749 |
$("#holdingst").kohaTable( |
1750 |
dom: '<"clearfix">t', |
1750 |
{ |
1751 |
"columnDefs": [ |
1751 |
dom: '<"clearfix">t', |
1752 |
{ "className": "dtr-control", "orderable": false, "targets": -1 } |
1752 |
columnDefs: [ |
1753 |
], |
1753 |
{ className: "dtr-control", orderable: false, targets: -1 }, |
1754 |
"bKohaColumnsUseNames": true, |
1754 |
], |
1755 |
"responsive": { |
1755 |
bKohaColumnsUseNames: true, |
1756 |
"details": { "type": 'column', "target": -1 } |
1756 |
responsive: { |
1757 |
} |
1757 |
details: { type: "column", target: -1 }, |
1758 |
}, table_settings); |
1758 |
}, |
1759 |
|
1759 |
}, |
1760 |
KohaTable("#otherholdingst", { |
1760 |
table_settings |
1761 |
dom: '<"clearfix">t', |
1761 |
); |
1762 |
"columnDefs": [ |
1762 |
$("#otherholdingst").kohatable( |
1763 |
{ "className": "dtr-control", "orderable": false, "targets": -1 } |
1763 |
{ |
1764 |
], |
1764 |
dom: '<"clearfix">t', |
1765 |
"bKohaColumnsUseNames": true, |
1765 |
columnDefs: [ |
1766 |
"responsive": { |
1766 |
{ className: "dtr-control", orderable: false, targets: -1 }, |
1767 |
"details": { "type": 'column', "target": -1 } |
1767 |
], |
1768 |
} |
1768 |
bKohaColumnsUseNames: true, |
1769 |
}, table_settings); |
1769 |
responsive: { |
|
|
1770 |
details: { type: "column", target: -1 }, |
1771 |
}, |
1772 |
}, |
1773 |
table_settings |
1774 |
); |
1770 |
|
1775 |
|
1771 |
var serial_table_settings = [% TablesSettings.GetTableSettings( 'opac', 'biblio-detail', 'subscriptionst', 'json' ) | $raw %]; |
1776 |
var serial_table_settings = [% TablesSettings.GetTableSettings( 'opac', 'biblio-detail', 'subscriptionst', 'json' ) | $raw %]; |
1772 |
|
1777 |
|
1773 |
KohaTable("#subscriptionst", { |
1778 |
$("#subscriptionst").kohaTable( |
1774 |
dom: '<"clearfix">t', |
1779 |
{ |
1775 |
"sorting": [[ 1, "desc" ]], |
1780 |
dom: '<"clearfix">t', |
1776 |
"bKohaColumnsUseNames": true, |
1781 |
sorting: [[1, "desc"]], |
1777 |
"responsive": { |
1782 |
bKohaColumnsUseNames: true, |
1778 |
"details": { "type": 'column', "target": -1 } |
1783 |
responsive: { |
|
|
1784 |
details: { type: "column", target: -1 }, |
1785 |
}, |
1786 |
columnDefs: [ |
1787 |
{ className: "dtr-control", orderable: false, targets: -1 }, |
1788 |
], |
1779 |
}, |
1789 |
}, |
1780 |
"columnDefs": [ |
1790 |
serial_table_settings |
1781 |
{ "className": "dtr-control", "orderable": false, "targets": -1 } |
1791 |
); |
1782 |
], |
|
|
1783 |
}, serial_table_settings); |
1784 |
|
1792 |
|
1785 |
var dTables = $("#holdingst,#subscriptionst,#otherholdingst"); |
1793 |
var dTables = $("#holdingst,#subscriptionst,#otherholdingst"); |
1786 |
$('a[data-bs-toggle="tab"]').on('shown.bs.tab', function (event) { |
1794 |
$('a[data-bs-toggle="tab"]').on('shown.bs.tab', function (event) { |