[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
RE: Possible search bug in 3.12beta13 (and earlier)
****** message to minivend-users from "Thompson-Jordan" <Thompson-Jordan@mindspring.com> ******
Your search should use "fi=partcat.asc".
^^^^
It's a little confusing because it's "sp=catwalk" and Minivend adds the
".html", but databases could end with ".csv" or ".txt", etc. whereas all
pages end with ".html"
Christopher Thompson
> ****** message to minivend-users from
> Matthew.Rice@ftlsol.com ******
>
> Synopsis:
> When doing a search through a database other than 'products',
> minivend seems to be trying to relate the [item-code] to a
> match in the products database.
>
> This causes things like [item-field blah] to be incorrect
> or empty.
>
> Side Note:
> The partcat.asc database is configures the same way as
> products.asc but no .gdbm files or column files are
> ever created.
>
> It may just be that I don't know what I'm doing but...
>
> I'm trying to do a search through a categories file and the I have
> a file called partcat.asc (with a sample):
>
> code category subcategory
> Bearing:Mounted Bearing Mounted
> Bearing:Un-Mounted Bearing Un-Mounted
>
> Now when I do the search (assuming it matches stuff in producsts.asc):
>
>
http://mysite/cgi-bin/catalog/scan/fi=products/sf=category/sp=catwalk/se=B
earing?fVLC75zZ;;746
Everything is fine. However when I do the exact same thing with
partcat.asc:
http://mysite/cgi-bin/catalog/scan/fi=partcat/sf=category/sp=catwalk/se=Ca
tegoryB?fVLC75zZ;;746
Only [item-code] is valid. If I put the same code entry in product.asc,
then the other fields get filled in (with the products.asc values).
Here's my catwalk.html page:
<HTML><HEAD><TITLE>Results</TITLE></HEAD>
<BODY>
[search-list]
[item-code] and [item-field category]<BR>
[/search-list]
</body></html>
Here's how my two databases are configure:
Database products products.asc TAB
Database products INDEX category
Database partcat partcat.asc TAB
Database partcat INDEX category
Am I out to lunch or is this a bug?
--
matthew rice <matt@starnix.com> starnix inc.
tollfree: 1-87-pro-linux brampton, ontario, canada
http://www.starnix.com professional linux services & products
-
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
-
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