Implemented 'Subtext' quick filter
SVN revision: 1477
This commit is contained in:
+4
-3
@@ -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 <attribute> = <flags>,<css_class_name>,<css_class_value>,<width>,<size></code></b>
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user