[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: [mv] sorting help
****** message to minivend-users from Ed LaFrance <edl@newmediaems.com> ******
Brian -
This should work:
[set default_profile]
mv_search_field=category
mv_sort_field=category,name,0
mv_sort_option=f,f,f
mv_matchlimit=[var DISPLAYNUM]
[/set]
The '0' is for the field 'code' (which may also be referred to as 'code' if
this does not work), for some reason I have always needed to specify it at
the last-level sort field or I don't get the results I want.
- Ed L.
At 10:57 AM 10/17/00 -0400, you wrote:
>****** 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
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
New Media E.M.S. Software Solutions for Business
463 Main St., Suite D edl@newmediaems.com
Placerville, CA 95667 http://www.newmediaems.com
(530) 622-9421 (530) 622-9426 fax
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
-
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