]> git.joonet.de Git - adminer.git/commitdiff
Use variable
authorJakub Vrana <jakub@vrana.cz>
Sat, 26 Apr 2025 03:31:07 +0000 (05:31 +0200)
committerJakub Vrana <jakub@vrana.cz>
Sat, 26 Apr 2025 03:31:48 +0000 (05:31 +0200)
CHANGELOG.md
adminer/indexes.inc.php

index a884b5c4bd84ea23bc51e554506b691f3e1e8285..0c528b279784019186871433ec382e0f2abf94d2 100644 (file)
@@ -1,10 +1,10 @@
 ## Adminer dev
 - Align numeric functions right
 - Autocomplete: Support table aliases
-- Fix type error in Create function (bug #1053)
+- Fix type error in Create function (bug #1053, regression from 5.1.1)
 - MySQL: Avoid warning on selecting tables with fulltext indexes (bug #1036)
 - MySQL, PostgreSQL: Support index algorithms (bug #1030)
-- MySQL: Fix connecting with port (bug #1057, regression from 5.1.1)
+- MySQL: Fix connecting to localhost:3306 (bug #1057, regression from 5.1.1)
 - PostgreSQL, CockroachDB: Creating partitioned tables (bug #1031)
 - PostgreSQL: Move partitioned tables from table list to parent table
 - PostgreSQL: Support partial indices (bug #1048)
index 746c0433e9a13e4cd7ce56a09b932863a5ffc78e..7ee5aa75ae03e1b259cbfca4c323bfe33a939956 100644 (file)
@@ -125,7 +125,7 @@ if ($lengths || support("descidx")) {
 <th id="label-name"><?php echo lang('Name'); ?>
 <?php
 if (support("partial_indexes")) {
-       echo "<th id='label-condition' class='idxopts" .  ($show_options ? "" : " hidden") . "'>" . lang('Condition');
+       echo "<th id='label-condition'$idxopts>" . lang('Condition');
 }
 ?>
 <th><noscript><?php echo icon("plus", "add[0]", "+", lang('Add next')); ?></noscript>
@@ -167,7 +167,7 @@ foreach ($row["indexes"] as $index) {
 
                echo "<td><input name='indexes[$j][name]' value='" . h($index["name"]) . "' autocapitalize='off' aria-labelledby='label-name'>\n";
                if (support("partial_indexes")) {
-                       echo "<td class='idxopts" .  ($show_options ? "" : " hidden") . "'><input name='indexes[$j][partial]' value='" . h($index["partial"]) . "' autocapitalize='off' aria-labelledby='label-condition'>\n";
+                       echo "<td$idxopts><input name='indexes[$j][partial]' value='" . h($index["partial"]) . "' autocapitalize='off' aria-labelledby='label-condition'>\n";
                }
                echo "<td>" . icon("cross", "drop_col[$j]", "x", lang('Remove')) . script("qsl('button').onclick = partial(editingRemoveRow, 'indexes\$1[type]');");
        }