Bug 35249: Adjust table id and style

We could eventually have a table for authorities, so better to have a
specific table id.

Also I think it's better to have the table smaller than taking the whole
width

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
Jonathan Druart 2024-03-21 12:25:36 +01:00 committed by Katrin Fischer
parent 81d12ad264
commit 0b33e87abc
No known key found for this signature in database
GPG Key ID: 0EF6E2C03357A834
2 changed files with 2 additions and 2 deletions

View File

@ -487,7 +487,7 @@ a.add, a.delete {
<h3>Facet order</h3>
<div class="hint">Drag and drop rows to change the order</div>
<div id="facet_[% index.index_name | html %]">
<table id="facetst">
<table id="facet_[% index.index_name | html %]_table" style="max-width: 50%; margin: 0;">
<thead>
<tr>
<th>Order</th>

View File

@ -100,7 +100,7 @@ $(document).ready(function () {
}
});
$("#facetst").DataTable(
$("#facet_biblios_table").DataTable(
$.extend(true, {}, dataTablesDefaults, {
"columnDefs": [
{ "orderable": false, "searchable": false, 'targets': ['NoSort'] },