I found it better and faster to do the sort after the results are returned in the Results Action. Use a user variable and keep appending to the beginning, then use the variable in the sort tag. Remember to have a way to clear the sort and the variable
Ted -----Original Message----- From: WebDude [mailto:webd...@cipromo.com] Sent: Mon 3/1/2010 7:29 PM To: witango-talk@witango.com Subject: Witango-Talk: Multiple Sorts Typically in the past, I load a sort into a variable and then add that variable as a sort in the search function... I then use an argument to change the sorts... <@IFEQUAL <@ARG sort> "1"><@ASSIGN sort "company_info.company">/@IF <@IFEQUAL <@ARG sort> "2"><@ASSIGN sort "company_info.lname">/@IF <@IFEQUAL <@ARG sort> "3"><@ASSIGN sort "company_info.state">/@IF <@IFEQUAL <@ARG sort> "4"><@ASSIGN sort "company_info.customer_id">/@IF I've been going around and around on this... is there anyway to hold onto the sorts so, let's say, they click on Company first, and then click on last name, they get a sort by lname, company. An thus, if they click next on State, they get a sort of state, lname, company... and so on. I'm sure this has comeup before... I just can't find the answer. Thanks! ________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf ________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
<<winmail.dat>>