[ic] sort descending on search

groove cube groovecube at gmail.com
Tue Jan 10 10:15:32 EST 2006


Hello list!
I have a search-box in my catalog, and I havo to return a collection
sorted (descending) by publish_date.
Now my problem is the collection return sorted ascending.

with this code ...

<form action="/cgi-bin/catalog/search.html" method=post>
	<INPUT TYPE=hidden NAME=mv_coordinate VALUE=1>
	<INPUT TYPE=hidden NAME=mv_searchtype VALUE=db>
	<INPUT TYPE=hidden NAME=mv_matchlimit VALUE=10>
	<INPUT TYPE=hidden NAME=mv_sort_field VALUE="publish_date">
	<INPUT TYPE=hidden NAME=mv_search_field VALUE=":*">
	<input type=hidden name=mv_min_string value=2>
	<input type=hidden name=mv_substring_match value=1>
	<INPUT TYPE=hidden NAME=mv_column_op VALUE="rm">

Can I specify the type of sort ? (descending for me ?)

Thank's in advance.
groovecube



More information about the interchange-users mailing list