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