mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-08 17:13:56 +00:00
Apply reverse sorting to all attribute types
SVN revision: 2440
This commit is contained in:
parent
36400bf8c8
commit
0d34e3d01a
@ -20778,8 +20778,7 @@ void show_elog_list(LOGBOOK * lbs, int past_n, int last_n, int page_n, BOOL defa
|
||||
} else {
|
||||
if (ref[0] == 0) {
|
||||
if (getcfg(lbs->name, "Reverse sort", str2, sizeof(str2)) &&
|
||||
atoi(str2) == 1 &&
|
||||
(disp_attr_flags[i] & AF_DATETIME))
|
||||
atoi(str2) == 1)
|
||||
sprintf(ref, "?rsort=%s", str);
|
||||
else
|
||||
sprintf(ref, "?sort=%s", str);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user