Menu

#4317 (ok 4.2) No visual cue when a table is sorted by multiple columns

Latest_Git
fixed
nobody
5
2014-05-08
2014-03-07
No

Not really sure if this could be called a feature request.

When I sort a table by a column by clicking on it, I see a arrow on it that tells me that the table is sorted by that column and the direction of the arrow tells me if it is ordered in a ascending or a descending order.

But when I do the same for multiple columns using the query such as
select * from table_name order by column1 asc, column2 desc. There are no arrows on any columns !

Discussion

  • Marc Delisle

    Marc Delisle - 2014-03-07

    What do you propose as a visual cue? For example, if we put arrows with the appropriate direction on each column, what would happen if the user clicks on just one arrow?

     
  • Aditya Sastry

    Aditya Sastry - 2014-03-07

    If the column1 is sorted in desc, clicking on the arrow which by the way should be displayed in the same way as the arrow that is displayed when sorted by a single column, should sort the table with that column in asc order.

    Like if the query is

    select * from table_name order by abc asc, bcd desc

    clicking on the arrow of bcd desc should turn the query into

    select * from table_name order by abc asc, bcd asc

     

    Last edit: Aditya Sastry 2014-03-07
  • Marc Delisle

    Marc Delisle - 2014-03-07

    This would not be consistent with the current behavior of sorting on just one column when you click on this column's arrow.

     
    • Aditya Sastry

      Aditya Sastry - 2014-03-07

      sorry that was a typo, I typed bcd desc twice in both the queries.

       
  • Aditya Sastry

    Aditya Sastry - 2014-03-07

    This is required for the feature request 1507
    http://sourceforge.net/p/phpmyadmin/feature-requests/1507/

     

    Last edit: Aditya Sastry 2014-03-07
  • Marc Delisle

    Marc Delisle - 2014-04-22
    • summary: No visual cue when a table is sorted by multiple columns --> (ok 4.2) No visual cue when a table is sorted by multiple columns
    • status: open --> resolved
     
  • Marc Delisle

    Marc Delisle - 2014-04-22

    There are visual cues in 4.2.0-beta1.

     
  • Marc Delisle

    Marc Delisle - 2014-05-08
    • status: resolved --> fixed