diff --git a/doc/config.html b/doc/config.html index dc670084..e8141f44 100755 --- a/doc/config.html +++ b/doc/config.html @@ -1084,9 +1084,10 @@ author by the current author for example:
Specifies list of comma separated attributes for which a drop-down filter is displayed in the search result page. By selecting a value from that drop-down box, only entries with that value are displayed. In addition to all attributes defined in the -Attributes = list, the attribute Date can be -listed here to display a date filter. Using that filter, the last day, week, month and so -on can be displayed. +Attributes = list, the attribute Date and the +option Subtext can be listed here. Using the Date +filter, the last day, week, month and so on can be displayed. The Subtext +filter works on the entry body text.

  • Format <attribute> = <flags>,<css_class_name>,<css_class_value>,<width>,<size> diff --git a/src/elogd.c b/src/elogd.c index 13838b3f..28ef3a6e 100755 --- a/src/elogd.c +++ b/src/elogd.c @@ -6,6 +6,9 @@ Contents: Web server program for Electronic Logbook ELOG $Log$ + Revision 1.743 2005/08/05 15:27:21 ritt + Implemented 'Subtext' quick filter + Revision 1.742 2005/08/05 10:41:13 ritt Version 2.6.0-beta4 @@ -16894,6 +16897,10 @@ void show_elog_list(LOGBOOK * lbs, INT past_n, INT last_n, INT page_n, char *inf subst_param(str, sizeof(str), attr_list[i], getparam(attr_list[i])); } + /* do the same for subtext */ + if (isparam("subtext")) + subst_param(str, sizeof(str), "subtext", getparam("subtext")); + redirect(lbs, str); return; }