phpmyadmin/phpmyadmin

Order by DESC as default on first click on column

オープン

#18,130 opened on 2023/02/20

 (13 件のコメント) (0 件のリアクション) (0 人の担当者)PHP (3,454 件のフォーク)batch import
EnhancementUIaffects/5.2affects/6.0confirmed/5.2confirmed/6.0good first issue

Repository metrics

Stars
 (6,886 個のスター)
PR merge metrics
 (平均マージ 2d 17h) (30d で 11 merged PRs)

説明

Is your feature request related to a problem? Please describe.

The order by made by clicking on a column's name is by default on ASC. Everytime i check a table's content, the table is displayed by default on the ids ASC. Clicking on column id will order them by ASC (1, 2,3), i have to click another time (and send another request) to have them ordered by DESC (1000, 999, 998).

Describe the solution you'd like

I'd like the initial state to stay the same, but a click on the primary key used to sort the table initially (most of the times id) should do the opposite of the default state.

Additional context

  • phpMyAdmin version: 5.2

コントリビューターガイド