Question
I'm using TWiki Release 02Sep2004 with Perl 5.8.6 and trying to perform a 'SearchToTable' query on pages with forms. When performing this query, I'm using the 'fieldSearch' builtin function that comes with the plugin which filters results based on form field values. It seems whenever I specify a text string as a form field value, it'll ignore it and return a lot more than I'm asking for. On the other hand, when I specify a numeric form field value, the query is successful and I get exactly what I want. Why is the text specified within the 'fieldSearch' function being ignored? Anyone have any suggestions? Do you think I should install an older version of Perl? Your help is desperately needed.
Example:
%SearchToTable{search="\-\- XP STORY" fieldSearch="Master:text,Year:2005" display="Master,Year,Info, etc" title="M,Y,I,E" }%
The example above will only return form data with a year of 2005 instead of returning form data with a year of '2005' AND a master of 'text', hence ignoring the 'text' part of the 'fieldSearch' query and giving me more than I'm asking for.
Environment
--
TWikiGuest - 21 Jun 2005
Answer