From 8768ad8b60c06d6075a61245c1c0381c9fc83c56 Mon Sep 17 00:00:00 2001 From: Stefan Ritt Date: Thu, 7 Dec 2006 21:19:00 +0000 Subject: [PATCH] Made quick filter improvements work with subtext SVN revision: 1773 --- src/elogd.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/elogd.c b/src/elogd.c index 20b86f3f..9279b892 100755 --- a/src/elogd.c +++ b/src/elogd.c @@ -17021,6 +17021,18 @@ void show_elog_list(LOGBOOK * lbs, int past_n, int last_n, int page_n, BOOL defa } } + if (isparam("subtext")) { + if (*getparam("subtext") == 0) { + subst_param(str, sizeof(str), "subtext", ""); + found = 1; + } + sprintf(ref, "-- %s --", "subtext"); + if (strieq(getparam("subtext"), ref)) { + subst_param(str, sizeof(str), "subtext", ""); + found = 1; + } + } + if (found) { redirect(lbs, str); return;