Set sortmode=DESC for date columns (and a few others) so newest show up on top for first click on header

This commit is contained in:
Nathan Gray 2014-03-24 19:34:00 +00:00
parent 8816fd6e0f
commit 32ef5dd748
2 changed files with 4 additions and 4 deletions

View File

@ -58,9 +58,9 @@
<nextmatch-customfields id="customfields"/> <nextmatch-customfields id="customfields"/>
<nextmatch-header label="Category" id="cat_id"/> <nextmatch-header label="Category" id="cat_id"/>
<vbox> <vbox>
<nextmatch-sortheader label="Startdate" id="info_startdate"/> <nextmatch-sortheader label="Startdate" id="info_startdate" sortmode="DESC"/>
<nextmatch-sortheader label="Enddate" id="info_enddate"/> <nextmatch-sortheader label="Enddate" id="info_enddate" sortmode="DESC"/>
<nextmatch-sortheader label="Date completed" id="info_datecompleted"/> <nextmatch-sortheader label="Date completed" id="info_datecompleted" sortmode="DESC"/>
</vbox> </vbox>
<vbox> <vbox>
<nextmatch-sortheader label="Times" id="info_used_time"/> <nextmatch-sortheader label="Times" id="info_used_time"/>

View File

@ -20,7 +20,7 @@
<nextmatch-header statustext="Status" label="St." id="status"/> <nextmatch-header statustext="Status" label="St." id="status"/>
<nextmatch-header statustext="attachments, ..." label="..." id="attachments"/> <nextmatch-header statustext="attachments, ..." label="..." id="attachments"/>
<nextmatch-sortheader label="subject" id="subject"/> <nextmatch-sortheader label="subject" id="subject"/>
<nextmatch-sortheader align="center" label="date" id="date"/> <nextmatch-sortheader align="center" label="date" id="date" sortmode="DESC"/>
<nextmatch-sortheader label="mail-address" id="address"/> <nextmatch-sortheader label="mail-address" id="address"/>
<nextmatch-sortheader label="to" id="toaddress"/> <nextmatch-sortheader label="to" id="toaddress"/>
<nextmatch-sortheader label="from" id="fromaddress"/> <nextmatch-sortheader label="from" id="fromaddress"/>