From baf492f1e790842f9d382d561f000362c23d50b8 Mon Sep 17 00:00:00 2001 From: Stefan Ritt Date: Tue, 3 Apr 2007 09:50:44 +0000 Subject: [PATCH] Made conditional attributes work for quick filters SVN revision: 1818 --- src/elogd.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/elogd.c b/src/elogd.c index 8f7a30cb..c97f420e 100755 --- a/src/elogd.c +++ b/src/elogd.c @@ -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]) {