Apply reverse sorting to all attribute types

SVN revision: 2440
This commit is contained in:
2012-03-14 14:52:48 +00:00
parent 36400bf8c8
commit 0d34e3d01a
+1 -2
View File
@@ -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);