Akopia Akopia Services

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

[mv] sorting help



******    message to minivend-users from Brian Kosick <briank@nacs.net>     ******

Hello all,
	I have a problem, that I'm trying to sort the results of a search by the 
category and then (each category) alphabetically by name (of the product 
that it finds).  I've poured over the archives, but I can find very little 
that has been helpful
I'm currently using MV3.14-5
here's my current code for searches....

[set default_profile]
mv_search_field=category
mv_field_names=products:name
mv_sort_field=name
mv_matchlimit=[var DISPLAYNUM]
[/set]

<TD [var LEFTTBFG]><FORM ACTION="[process_search secure=1]" METHOD=POST>
<INPUT TYPE="hidden" NAME="mv_profile" VALUE="default_profile">
<INPUT TYPE="hidden" NAME="mv_searchspec" VALUE="Supplies">
<INPUT TYPE="hidden" NAME="mv_exact_match" VALUE="yes">
<INPUT TYPE="hidden" NAME="mv_begin_string" VALUE="1">
<INPUT TYPE="image" SRC="[var SBIMAGESUPP]" BORDER="0" ALT="Supplies">

Also, I need to figure out how to sort through a URL, I'm trying to use 
this URL, which returns the products that I want, but doesn't sort them 
alphabetically by name

http://some.server.com/cgi-bin/simple.cgi/scan/fn=products:name/tf=name/sf=products:category,products:manufacturer/se=Cough,Hi-Tech

Help would be greatly appreciated!!!
Thanks in advance.
Brian Kosick
Web Programmer

Brian Kosick
Web Programmer
New Age Consulting Service, Inc.
216-619-2000
briank@nacs.net

-
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: