mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-08 17:13:56 +00:00
Made quick filter improvements work with subtext
SVN revision: 1773
This commit is contained in:
parent
9790774f32
commit
8768ad8b60
12
src/elogd.c
12
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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user