how do I get it NOT to bold based on the yes/no value of a field (isPick)
if ($db_bold and $in{'view_records'}) {
for $i (0 .. (($#hits+1) / ($#db_cols+1)) - 1) {
$offset = $i * ($#db_cols+1);
foreach $field (@search_fields) {
$hits[$field + $offset] =~ s,(<[^>]+>)|($regexp_bold[$field]),defined($1) ? $1 : "<B>$2</B>",ge;
}
}
}
Actually, if $2 above is part of filename...well, you understand, the graphic won't display.
Gene
"The older I get, the more I admire competence, just simple competence in any field from adultery to zoology."
Code:
# Bold the results if ($db_bold and $in{'view_records'}) {
for $i (0 .. (($#hits+1) / ($#db_cols+1)) - 1) {
$offset = $i * ($#db_cols+1);
foreach $field (@search_fields) {
$hits[$field + $offset] =~ s,(<[^>]+>)|($regexp_bold[$field]),defined($1) ? $1 : "<B>$2</B>",ge;
}
}
}
Actually, if $2 above is part of filename...well, you understand, the graphic won't display.
Gene
"The older I get, the more I admire competence, just simple competence in any field from adultery to zoology."

