Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: [mv] Can't search by product code??



******    message to minivend-users from "Gideon van Gelder" <gideon@swingmaster.nl>     ******


> We're still running MiniVend version 3.14 on BSDI. I'm trying to set
> up a search to find special product codes and discovered that I
> can't search by product code at all! Here's the error I get:
> 
> =====
> computer.snowcrest.net wdLxoJA4:snowcrest.net -
> [14/April/2000:13:38:13 -0700] catalog25
> /cgi-bin/catalog25/scan/mp=davesdeals/va=sortby=description Bad
> search column 'code'
> =====
> 
> I don't understand. The name of the first column is "code", just as
> the name of my description column is "description". This is the code
> on my page:
> 
> =====
> [set davesdeals]
>     mv_searchspec=SPECIAL
>     mv_search_field=code
>     mv_sort_field=description
>     mv_sort_option=n
>     mv_orsearch=no
>     mv_matchlimit=20
> [/set]
> ...
> [page scan mp=davesdeals/va=sortby=description]...[/page]
> ...
> =====
> 
> I can search by any other column in the products.asc database
> without this trouble. Is there another way to search through the
> first column in the products database?

Hi,

Remember that the code-column is a 'special' field and therefor
cannot be addressed with mv_search_field, like the other 'real'
fields. (i think ;-)  )
However, you don't need to specify mv_search_field: just try leaving
it out <-> performance, though, i guess.

Good luck,

-Gideon


-
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


Search for: Match: Format: Sort by: