Today is the day for me to have brain-freeze it seems!
I want to order a search query by last_name instead of relevance... What's
the best/easiest way to do this?
My CFSEARCH tag:
<CFSEARCH
NAME="phonedir"
COLLECTION="cla_intranet_phonedir"
TYPE="Simple"
CRITERIA="*#form.SearchText#*"
MAX ROWS="100">
My Indexing Tag (this works):
<cfindex action="refresh"
collection="cla_intranet_phonedir"
Key="person_id"
type="Custom"
title="last_name"
query="GetResults"
custom1="first_name"
custom2="org_id"
body="last_name, first_name, email">
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at
http://www.coolfusion.com
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4