[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 be doing the trick, though I most commonly do text-based
searches. Do you have any [sort] tags in your results page? If so, remove
them.
- Ed L.
At 01:49 PM 10/17/00 -0400, you wrote:
>****** message to minivend-users from Brian Kosick
><briank@nacs.net> ******
>
>thanks, that helped a little, I have at least the first page of the
>results coming up fine, however, when you go to the next page of results,
>the sort by alphabetic name gets screwed up, on the second page, I get a
>sort result that looks like
>C,A,I,G,B when it should be A,B,C,G,I
>
>Also, on searches done through the glimpse engine, (the initial search
>box) returns products, but, the categories are acting strangely. as in
>there should be a total of 14 products listed in "Supplies" category, but
>6 show up on the first page, 2 will show up on the second, and 6 will show
>up on page 5.
>
>The glimpse box also has a hidden input tag that sets the profile to the
>default.
>
>At 09:45 AM 10/17/00 -0700, you wrote:
>>****** 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
>
>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