mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-08 17:13:56 +00:00
Made conditional attributes work for quick filters
SVN revision: 1818
This commit is contained in:
parent
d163020d5d
commit
baf492f1e7
@ -18291,6 +18291,14 @@ void show_elog_list(LOGBOOK * lbs, int past_n, int last_n, int page_n, BOOL defa
|
||||
if (getcfg(lbs->name, "Mode commands", str, sizeof(str)) && atoi(str) == 0)
|
||||
mode_commands = FALSE;
|
||||
|
||||
/*---- evaluate conditions for quick filters */
|
||||
for (i = 0; i < lbs->n_attr; i++) {
|
||||
attrib[i][0] = 0;
|
||||
if (isparam(attr_list[i]))
|
||||
strlcpy(attrib[i], getparam(attr_list[i]), NAME_LENGTH);
|
||||
}
|
||||
evaluate_conditions(lbs, attrib);
|
||||
|
||||
/*---- notification message ----*/
|
||||
|
||||
if (info && info[0]) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user