[ http://issues.apache.org/jira/browse/BEEHIVE-415?page=history ]
     
Eddie O'Neil resolved BEEHIVE-415:
----------------------------------

      Assign To: Nathan Jantz  (was: Eddie O'Neil)
     Resolution: Won't Fix
    Fix Version: V1Beta
                     (was: V1)

In thinking about this some, it seems like a reasonable default to have the two 
columns behave like this...

            Name || Zip
sort Zip returns grid;zip
sort Name returns grid;zip,name
sort Name returns grid;zip,-name
sort Zip returns grid;-zip,-name
sort Name returns grid;-zip
sort Zip returns nothing

This way, the zip can be sorted and name can be sorted independently as a 
secondary sort inside of the sorted zips.  In the default UI, turning off the 
zip sort requires toggling through descending, but this is just a limitation of 
the UI used to do the sorting. 

It should be possible to build a sort UI that allows the user to sort zip up, 
down, and none in a single data grid header cell.

So, resolving as won't fix.  Let me know if there are any questions.

This way, the 

> netui sort precedence doesn't work correctly
> --------------------------------------------
>
>          Key: BEEHIVE-415
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-415
>      Project: Beehive
>         Type: Bug
>   Components: NetUI
>     Versions: V1Beta
>     Reporter: Eddie O'Neil
>     Assignee: Nathan Jantz
>      Fix For: V1Beta

>
> When sorting columns in the data grid, a primary sort should transition to a 
> secondary sort when a new sort is applied.
> This used to work but isn't happening currently.  Should work like this:
>   Column A   ||   Column B
> When Column A is sorted, it is the primary sort.  When Column B is sorted, 
> Column A is now secondary and Column B is primary.  Today, when Column A is 
> sorted and Column B is clicked, Column A stays as the primary sort and should 
> move to the secondary sort.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira

Reply via email to