[ic] Sorting with Item Options

Mike Heins interchange-users@interchange.redhat.com
Mon Aug 20 10:34:01 2001


Quoting Lewey Taylor (admin@triparish.net):
> Interchange 4.8.1 using GDBM
> Is there a way to sort options using the Item-Options tag.
> When entered into the UI options don't seem to be placed in
> the database any certain sort order.  But however they go in
> is how they are displayed when called w/ item-options.  My
> options need to be displayed in certain order.  Where can I
> find more info on Item-Options tag.

You can edit the options table and set the o_sort field, which
will control the sorting of the options.

I think I will also add an option to the tag whereby you
can sort on a specific field, i.e. sort=label.

-- 
Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH  45013
phone +1.513.523.7621      <mheins@redhat.com>

Nature, to be commanded, must be obeyed. -- Francis Bacon