Bug 5881 - Allow "sort by column" to be invertible
Allow "sort by column" to be invertible
Status: RESOLVED WONTFIX
Product: OJS
Classification: Unclassified
Component: User Interface
2.4.2
PC Mac OS X 10.6
: P5 enhancement
Assigned To: PKP Support
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-09-03 10:34 PDT by James MacGregor
Modified: 2012-12-12 15:55 PST (History)
2 users (show)

See Also:
Version Reported In:
Also Affects: OCS 2.3.4, OMP 1.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description James MacGregor 2010-09-03 10:34:26 PDT
Currently, many tables can be sorted by a given column by clicking on the column title. The sort should also be invertible -- that is, if the column is sorted alphabetically, clicking on the column title again should sort alphabetically, but backwards from z.
Comment 1 Matthew Crider 2010-09-03 10:43:07 PDT
James, are you sure that's not currently possible?  I'm pretty sure that's how I implemented it..
Comment 2 James MacGregor 2010-09-03 10:54:19 PDT
Hi Matt, 

It doesn't seem to work for eg. the Editor's Submissions in Review queue, although it does work for the Author's Active queue. The actions on clicking the headers seems to be different in each case though -- for the former, there's a Javascript action (javascript:sortSearch('title','1')); for the latter, there's a URL (http://git/ojs/index.php/citation/author/index?sort=title&sortDirection=2).
Comment 3 Alec Smecher 2012-12-12 15:55:32 PST
Superseded by grids.