Implemented 'Subtext' quick filter

SVN revision: 1477
This commit is contained in:
2005-08-05 15:27:21 +00:00
parent 8f1de26d99
commit 35a588c7f4
2 changed files with 11 additions and 3 deletions
+4 -3
View File
@@ -1084,9 +1084,10 @@ author by the current author for example:<br>
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
<b><code>Attributes =</code></b> list, the attribute <b><code>Date</code></b> can be
listed here to display a date filter. Using that filter, the last day, week, month and so
on can be displayed.
<b><code>Attributes =</code></b> list, the attribute <b><code>Date</code></b> and the
option <b><code>Subtext</code></b> can be listed here. Using the <b><code>Date</code></b>
filter, the last day, week, month and so on can be displayed. The <b><code>Subtext</code></b>
filter works on the entry body text.
<p>
<LI><b><code>Format &lt;attribute&gt; = &lt;flags&gt;,&lt;css_class_name&gt;,&lt;css_class_value&gt;,&lt;width&gt;,&lt;size&gt;</code></b>
+7
View File
@@ -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;
}