Bugzilla – Attachment 163599 Details for
Bug 35249
Use DataTables RowReorder extension instead of tableDND jQuery plugin
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 35249: Adjust table id and style
Bug-35249-Adjust-table-id-and-style.patch (text/plain), 2.22 KB, created by
Jonathan Druart
on 2024-03-21 11:27:34 UTC
(
hide
)
Description:
Bug 35249: Adjust table id and style
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2024-03-21 11:27:34 UTC
Size:
2.22 KB
patch
obsolete
>From a8a0b1d05c4c8046b9ee4b7e5d2c135b25e6b849 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 21 Mar 2024 12:25:36 +0100 >Subject: [PATCH] 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> >--- > .../en/modules/admin/searchengine/elasticsearch/mappings.tt | 2 +- > koha-tmpl/intranet-tmpl/prog/js/elasticsearch-mappings.js | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/searchengine/elasticsearch/mappings.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/searchengine/elasticsearch/mappings.tt >index d68a5adaa2f..d75d7e526cd 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/searchengine/elasticsearch/mappings.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/searchengine/elasticsearch/mappings.tt >@@ -458,7 +458,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> >diff --git a/koha-tmpl/intranet-tmpl/prog/js/elasticsearch-mappings.js b/koha-tmpl/intranet-tmpl/prog/js/elasticsearch-mappings.js >index dd6526ce44f..921081125d6 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/elasticsearch-mappings.js >+++ b/koha-tmpl/intranet-tmpl/prog/js/elasticsearch-mappings.js >@@ -79,7 +79,7 @@ $(document).ready(function () { > } > }); > >- $("#facetst").DataTable( >+ $("#facet_biblios_table").DataTable( > $.extend(true, {}, dataTablesDefaults, { > "columnDefs": [ > { "orderable": false, "searchable": false, 'targets': ['NoSort'] }, >-- >2.34.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 35249
:
163598
|
163599
|
163600
|
163601
|
164795
|
164796
|
164797
|
164798