mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-08 17:13:56 +00:00
Fixed bug with sorting attributes
SVN revision: 1597
This commit is contained in:
parent
d65d59cb0f
commit
7c3ede09d9
@ -16362,8 +16362,8 @@ void show_elog_list(LOGBOOK * lbs, INT past_n, INT last_n, INT page_n, BOOL defa
|
||||
}
|
||||
|
||||
/* check if sort by attribute */
|
||||
if (isparam("sort") && (strieq(getparam("sort"), attr_list[i])
|
||||
|| strieq(getparam("rsort"), attr_list[i])))
|
||||
if ((isparam("sort") && strieq(getparam("sort"), attr_list[i])) ||
|
||||
(isparam("rsort") && strieq(getparam("rsort"), attr_list[i])))
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user