Merge branch 'QA_5_2'
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
This commit is contained in:
commit
f80862938c
@ -22,6 +22,7 @@ phpMyAdmin - ChangeLog
|
||||
- issue Fix PHP 8.2 deprecated string interpolation syntax
|
||||
- issue Some languages are now correctly detected from the HTTP header
|
||||
- issue #17617 Sorting is correctly remembered when $cfg['RememberSorting'] is true
|
||||
- issue #17593 Table filtering now works when action buttons are on the right side of the row
|
||||
|
||||
5.2.0 (2022-05-10)
|
||||
- issue #16521 Upgrade Bootstrap to version 5
|
||||
|
||||
@ -893,10 +893,11 @@ window.AJAX.registerOnload('sql.js', function () {
|
||||
var $targetTable = $('.table_results[data-uniqueId=\'' + uniqueId + '\']');
|
||||
var $headerCells = $targetTable.find('th[data-column]');
|
||||
var targetColumns = [];
|
||||
// To handle colspan=4, in case of edit,copy etc options.
|
||||
var dummyTh = ($('.edit_row_anchor').length !== 0 ?
|
||||
'<th class="hide dummy_th"></th><th class="hide dummy_th"></th><th class="hide dummy_th"></th>'
|
||||
: '');
|
||||
|
||||
// To handle colspan=4, in case of edit, copy, etc options (Table row links). Add 3 dummy <TH> elements - only when the Table row links are NOT on the "Right"
|
||||
var rowLinksLocation = ($targetTable.find('thead > tr > th')).first();
|
||||
var dummyTh = (rowLinksLocation[0].getAttribute('colspan') !== null) ? '<th class="hide dummy_th"></th><th class="hide dummy_th"></th><th class="hide dummy_th"></th>' : ''; // Selecting columns that will be considered for filtering and searching.
|
||||
|
||||
// Selecting columns that will be considered for filtering and searching.
|
||||
$headerCells.each(function () {
|
||||
targetColumns.push($(this).text().trim());
|
||||
|
||||
Loading…
Reference in New Issue
Block a user