[ic] searching in simple 4.6 demo

Steve Palm stevep@sga.org
Fri, 2 Mar 2001 14:22:16 -0600

>This is a newbie question.

 Mine too, a follow up....

>Has anybody used simple 4.6 demo page with interchange 4.6.3?  The search would not work for me.

 Nor for me.  I sort of got it working by changing some of the code so it
 was searching by actual category name instead of the code it was using.
 But now I have a problem....
 I can not get coordinated searches to actually coordinate.
 From my reading of the documentation, I should use mv_search_map to
 specify the variable names being used to hold the searchspecs, and
 turn on mv_coordinate, and then set the mv_search_fields...
 I would think this would end up searching the first field specified
 (category) for the value in input field "search1", and the second
 field(s) (:title,author,comment,display) for the value in the second
 input field "search2".
 Instead, it seems to be searching all fields for either value.
 is each field in the ":title,author,comment,display" consdidered to
 be separate, and therefore require that I provide a unique search
 value for each one instead of just one for the group?  The docs on
 using this ":field,field" notation is really vague.

 The code is below:

<INPUT TYPE=hidden NAME=mv_search_map VALUE="
<INPUT TYPE=hidden NAME=mv_coordinate VALUE=1>
<INPUT TYPE=hidden NAME=mv_search_field VALUE=category>
<INPUT TYPE=hidden NAME=mv_search_field VALUE=":author,title,comment,display">
<INPUT TYPE=hidden NAME=mv_sort_field VALUE=category>
&nbsp;&nbsp;<FONT SIZE=1 FACE="Tahoma, Arial, Helvetica">
<SELECT NAME=search1 SIZE=1>
   <OPTION VALUE="">All categories

   [loop search="fi=cat.txt/se=simple/sf=link_type/un=yes"]
       <OPTION VALUE="[loop-data cat name]">[loop-data cat name]


<IMG SRC="clear.gif" WIDTH=1 ALT="" HEIGHT=4 BORDER=0><BR>
<INPUT TYPE=image SRC="template/go.png" WIDTH=25 ALT="Go for it !!!" HEIGHT=25 ALIGN=top BORDER=0>

Steve Palm <stevep@sga.org> * SGA * Loves Park, IL *