mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-08 17:13:56 +00:00
Fixed bug with subtext quick filter
SVN revision: 1482
This commit is contained in:
parent
db8d2dacf0
commit
cabcee4715
@ -6,6 +6,9 @@
|
|||||||
Contents: Web server program for Electronic Logbook ELOG
|
Contents: Web server program for Electronic Logbook ELOG
|
||||||
|
|
||||||
$Log$
|
$Log$
|
||||||
|
Revision 1.747 2005/09/06 12:26:01 ritt
|
||||||
|
Fixed bug with subtext quick filter
|
||||||
|
|
||||||
Revision 1.746 2005/09/06 07:15:43 ritt
|
Revision 1.746 2005/09/06 07:15:43 ritt
|
||||||
Show HTML logbook comment properly
|
Show HTML logbook comment properly
|
||||||
|
|
||||||
@ -16283,11 +16286,12 @@ void show_page_filters(LOGBOOK * lbs, int n_msg, int page_n, BOOL mode_commands,
|
|||||||
} else {
|
} else {
|
||||||
rsprintf("<input type=submit value=\"%s:\"> \n", list[index]);
|
rsprintf("<input type=submit value=\"%s:\"> \n", list[index]);
|
||||||
|
|
||||||
|
/* check if attribute has options */
|
||||||
for (i = 0; i < MAX_N_ATTR; i++)
|
for (i = 0; i < MAX_N_ATTR; i++)
|
||||||
if (strieq(attr_list[i], list[index]))
|
if (attr_list[i][0] == 0 || strieq(attr_list[i], list[index]))
|
||||||
break;
|
break;
|
||||||
|
|
||||||
if (attr_options[i][0][0] == 0) {
|
if (attr_list[i][0] == 0 || attr_options[i][0][0] == 0) {
|
||||||
|
|
||||||
if (attr_flags[i] & (AF_DATE | AF_DATETIME)) {
|
if (attr_flags[i] & (AF_DATE | AF_DATETIME)) {
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user