Apply reverse sorting to all attribute types

SVN revision: 2440
This commit is contained in:
Stefan Ritt 2012-03-14 14:52:48 +00:00
parent 36400bf8c8
commit 0d34e3d01a

View File

@ -20778,8 +20778,7 @@ void show_elog_list(LOGBOOK * lbs, int past_n, int last_n, int page_n, BOOL defa
} else { } else {
if (ref[0] == 0) { if (ref[0] == 0) {
if (getcfg(lbs->name, "Reverse sort", str2, sizeof(str2)) && if (getcfg(lbs->name, "Reverse sort", str2, sizeof(str2)) &&
atoi(str2) == 1 && atoi(str2) == 1)
(disp_attr_flags[i] & AF_DATETIME))
sprintf(ref, "?rsort=%s", str); sprintf(ref, "?rsort=%s", str);
else else
sprintf(ref, "?sort=%s", str); sprintf(ref, "?sort=%s", str);