phpmyadmin/phpmyadmin

Order by DESC as default on first click on column

Open

#18,130 opened on 2023年2月20日

GitHub で見る
 (13 comments) (0 reactions) (0 assignees)PHP (6,886 stars) (3,454 forks)batch import
EnhancementUIaffects/5.2affects/6.0confirmed/5.2confirmed/6.0good first issue

説明

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

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