[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: [mv] Search Restrictions
****** message to minivend-users from jojo@buchonline.net ******
On 14 Mar, Tim Lewis wrote:
> I have to restrict the database fields that are searched. I have placed
> [set search_profile]
> mv_search_field=description
> mv_search_field=category
> mv_search_field=manufacturer
> mv_orsearch=yes
> [/set]
> in the header, and
> <INPUT TYPE="hidden" NAME="mv_search_field" VALUE="description">
> <INPUT TYPE="hidden" NAME="mv_search_field" VALUE="category">
> <INPUT TYPE="hidden" NAME="mv_search_field" VALUE="manufacturer">
> in the form.
>
> If I just leave in either category, manufacturer, or both, it searches fine, but as soon as I include "description" it searches every field in the database.
>
> Any thoughts as to why?
Look into the minivend document and search for "mv_search_map". There
is an example to do that you wish.
Regards,
Joachim
Hint:
For mv_search_field1, mv_search_field2, ...mv_search_field<number>,
choose the right fieldnumbers of your products database. If the field
manufactuer is the 6nd number, it has the fieldnumber 5. The first field
hast the number 0.
--
Hans-Joachim Leidinger
buch online jojo@buchonline.net
Munscheidstr. 14 FAX: +49 209 1971449
45886 Gelsenkirchen FAX: 0209 1671449
-
To unsubscribe from the list, DO NOT REPLY to this message. Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list