Bug: FormattedSearch: $text prevents $formfield
When using both $text and $formfield in a formatted search
the $formfield expressions are not evaluated.
Test case
NorbertGaworTest
My solution:
Added in Search.pm before line 525:
$tempVal =~ s/\$formfield\(\s*([^\)]*)\s*\)/getMetaFormField( $meta, $1 )/geos
Environment
| TWiki version: |
03-Aug-2002 |
| TWiki plugins: |
none |
| Server OS: |
SunOS 5.8 |
| Web server: |
Apache 1.3.26 |
| Perl version: |
5.005_03 |
| Client OS: |
SunOS 5.8 |
| Web Browser: |
Netscape 4.76 |
--
NorbertGawor - 08 Nov 2002
Follow up
The proposed fix is only a partial solution. The
$forceRendering in line 548 needs to be investigated.
Fix record