Opened 14 years ago
Closed 14 years ago
#15480 closed defect (bug) (fixed)
JS sorting should set sorted arrow on both header and footer
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 3.1 | Priority: | normal |
Severity: | minor | Version: | |
Component: | Administration | Keywords: | has-patch ui-feedback |
Focuses: | Cc: |
Description
Currently, JS sorting only sets the sorted arrow for the context clicked (i.e. thead OR tfoot). The arrow should be added to both.
Attachments (2)
Change History (7)
#2
@
14 years ago
Updated alternate patch that's likely better since it uses the index of the header instead of matching based on text.
One inherent problem with the arrows, though, is that because we're using a CSS :hover, clicking to sort changes the arrow in the right direction, but the :hover kicks in and the arrow flips in the opposite direction. Unhovering reverts it back in the right direction. That should probably be fixed since it makes things confusing.
Note: See
TracTickets for help on using
tickets.
Improved version that uses index