Lines 1862-1902
Link Here
|
1862 |
|
1862 |
|
1863 |
var table_settings = [% TablesSettings.GetTableSettings( 'opac', 'biblio-detail', 'holdingst', 'json' ) | $raw %]; |
1863 |
var table_settings = [% TablesSettings.GetTableSettings( 'opac', 'biblio-detail', 'holdingst', 'json' ) | $raw %]; |
1864 |
|
1864 |
|
1865 |
KohaTable("#holdingst", { |
1865 |
$("#holdingst").kohaTable( |
1866 |
dom: '<"clearfix">t', |
1866 |
{ |
1867 |
"columnDefs": [ |
1867 |
dom: '<"clearfix">t', |
1868 |
{ "className": "dtr-control", "orderable": false, "targets": -1 } |
1868 |
columnDefs: [ |
1869 |
], |
1869 |
{ className: "dtr-control", orderable: false, targets: -1 }, |
1870 |
"bKohaColumnsUseNames": true, |
1870 |
], |
1871 |
"responsive": { |
1871 |
bKohaColumnsUseNames: true, |
1872 |
"details": { "type": 'column', "target": -1 } |
1872 |
responsive: { |
1873 |
} |
1873 |
details: { type: "column", target: -1 }, |
1874 |
}, table_settings); |
1874 |
}, |
1875 |
|
1875 |
}, |
1876 |
KohaTable("#otherholdingst", { |
1876 |
table_settings |
1877 |
dom: '<"clearfix">t', |
1877 |
); |
1878 |
"columnDefs": [ |
1878 |
$("#otherholdingst").kohaTable( |
1879 |
{ "className": "dtr-control", "orderable": false, "targets": -1 } |
1879 |
{ |
1880 |
], |
1880 |
dom: '<"clearfix">t', |
1881 |
"bKohaColumnsUseNames": true, |
1881 |
columnDefs: [ |
1882 |
"responsive": { |
1882 |
{ className: "dtr-control", orderable: false, targets: -1 }, |
1883 |
"details": { "type": 'column', "target": -1 } |
1883 |
], |
1884 |
} |
1884 |
bKohaColumnsUseNames: true, |
1885 |
}, table_settings); |
1885 |
responsive: { |
|
|
1886 |
details: { type: "column", target: -1 }, |
1887 |
}, |
1888 |
}, |
1889 |
table_settings |
1890 |
); |
1886 |
|
1891 |
|
1887 |
var serial_table_settings = [% TablesSettings.GetTableSettings( 'opac', 'biblio-detail', 'subscriptionst', 'json' ) | $raw %]; |
1892 |
var serial_table_settings = [% TablesSettings.GetTableSettings( 'opac', 'biblio-detail', 'subscriptionst', 'json' ) | $raw %]; |
1888 |
|
1893 |
|
1889 |
KohaTable(".subscriptionst", { |
1894 |
$("#subscriptionst").kohaTable( |
1890 |
dom: '<"clearfix">t', |
1895 |
{ |
1891 |
"sorting": [[ 1, "desc" ]], |
1896 |
dom: '<"clearfix">t', |
1892 |
"bKohaColumnsUseNames": true, |
1897 |
sorting: [[1, "desc"]], |
1893 |
"responsive": { |
1898 |
bKohaColumnsUseNames: true, |
1894 |
"details": { "type": 'column', "target": -1 } |
1899 |
responsive: { |
|
|
1900 |
details: { type: "column", target: -1 }, |
1901 |
}, |
1902 |
columnDefs: [ |
1903 |
{ className: "dtr-control", orderable: false, targets: -1 }, |
1904 |
], |
1895 |
}, |
1905 |
}, |
1896 |
"columnDefs": [ |
1906 |
serial_table_settings |
1897 |
{ "className": "dtr-control", "orderable": false, "targets": -1 } |
1907 |
); |
1898 |
], |
|
|
1899 |
}, serial_table_settings); |
1900 |
|
1908 |
|
1901 |
var dTables = $("#holdingst,.subscriptionst,#otherholdingst"); |
1909 |
var dTables = $("#holdingst,.subscriptionst,#otherholdingst"); |
1902 |
$('a[data-bs-toggle="tab"]').on('shown.bs.tab', function (event) { |
1910 |
$('a[data-bs-toggle="tab"]').on('shown.bs.tab', function (event) { |