I have a static search form. Is there any way to force the results to be sorted in a particular way?
(2003/10/31) yes, add a field to the form:
<input type="hidden" name="BrokSearch_sort" VALUE="name|up" />
to your form. This one will sort by name upwards. You can extrapolate the other values by the type and direction. For example, to sort by code downwards, you would use:
<input type="hidden" name="BrokSearch_sort" VALUE="name|down" />
The other values are:
name|up - sorts by name alphabetically upwards
name|down - sorts by name alphabetically downwards
code|up - sorts by product code alphabetically upwards
code|down - sorts by product code alphabetically downwards
id|up - sorts by product id numerically upwards
id|down - sorts by product id numerically downwards
order|up - sorts by admin order upwards
order|down - sorts by admin order downwards
Last update: 2005-01-12 08:44
Author: Support
Revision: 1.0
You cannot comment on this entry
Most Recent FAQ Entries: 
- Alternate ways to display the product and attribute data ... (2008-09-02 18:40)
- Adding both "Add All to Basket" and "Add to ... (2008-09-01 09:46)
- When adding a product to the basket from an ... (2008-08-27 19:02)
- I have the module configured to add the key ... (2008-08-13 14:50)
- What is the format for the htaccess file if ... (2008-08-12 14:50)
Top 10 
- 2939 views:
Adding Tokens to Evaluate Expressions - 2868 views:
Is there a way to "Limit" the number of ... - 2792 views:
Why won't you call me for technical support? I ... - 2679 views:
Are license keys valid for more than one store? ... - 2577 views:
I'm trying to enter a license key and get ... - 2567 views:
How do I install a module? - 2410 views:
How do I check for a module upgrade? - 2372 views:
How can display and change the parameters of an ... - 2218 views:
The total on my checkout pages are not correct. ... - 2016 views:
I have select and radio type attributes in my ...
















