[ic] more-list, search, and discount questions

Stefan Hornburg Racke interchange-users@lists.akopia.com
Sat Jul 21 02:34:01 2001


Brian Kosick <briank@nacs.net> writes:

> The more list works/displays great!  However, the results page display the 
> correct number of rows, indicating that it found matches, but doesn't 
> display any of the values in the rows.
> 
> <form action="[area search]">
> [set testname]su=yes/fi=products/[/set]
> <input type=hidden name=mv_more_alpha value="yes">
> <input type=hidden name=mv_more_alpha_chars value="1">
> <input type=hidden name=mv_return_field value="name, code, short_desc, 
> price, qty, new_plant">

Use mv_return_fields instead of mv_return_field.

> <INPUT TYPE="hidden" NAME="mv_profile" VALUE="testname">
> <INPUT TYPE=hidden NAME=mv_searchtype VALUE=db>
> <INPUT TYPE=hidden NAME=mv_sort_field VALUE=name>
> <INPUT TYPE=hidden NAME=mv_column_op VALUE=rm>
> <INPUT TYPE=hidden NAME=mv_searchspec VALUE=1>
> <INPUT MAXLENGTH=30 NAME=mv_searchspec type=text size=10>
> Know the name of the plant you want? Type all or part of it here:<br>
> <input type=submit value="Search">
> </form>
> 
> See for yourself
> 
> http://dev.bluestoneperennials.com/cgi-bin/bluestone.cgi/adv_search.html
> 
> Use search #2
> 
> Also, what are the 2 digits abbreviations for these options?

mv_more_alpha=ma
mv_more_alpha_chars=mc

Ciao
        Racke

> 
> Tchuss
> 
> At 10:25 PM 7/20/01 +0200, you wrote:
> >Brian Kosick <briank@nacs.net> writes:
> >
> > > Hello,
> > >
> > >       I have a few questions
> > >
> > > 1)  With the more list, I would like to be able to organize it
> > > alphabetically, instead of numerically.  As in the first page would 
> > contain
> > > all the products that start with an A, and the more list would display
> > > something like "A B C D E F G H I J K L ....Next"  Is this possible?
> >
> >I needed this feature and implemented it (with Mike's help) into the
> >development version of Interchange (4.7.x).
> >
> >Example:
> ><input type=hidden name=mv_more_alpha value=yes>
> ><input type=hidden name=mv_more_alpha_chars value=1>
> ><input type=hidden name=mv_sort_field value=description>
> ><input type=hidden name=mv_return_fields value=sku,description>
> >
> >Ciao
> >         Racke
> >
> >--
> >Racke happily hacks Interchange and maintains Debian packages like Courier.
> >
> >For projects and other business stuff please refer to COBOLT NetServices
> >(URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400)
> >_______________________________________________
> >Interchange-users mailing list
> >Interchange-users@lists.akopia.com
> >http://lists.akopia.com/mailman/listinfo/interchange-users
> 

-- 
Racke happily hacks Interchange and maintains Debian packages like Courier.

For projects and other business stuff please refer to COBOLT NetServices
(URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400)