That sort bug is corrected in the latest version.
_____ From: Shannon Henderson [mailto:[EMAIL PROTECTED] Sent: Monday, November 03, 2008 1:57 PM To: [email protected] Subject: Re: Witango-Talk: Witango and @SORT for arrays It does sort the array in place. Is it possible that you're running into the scope bug? I'm not sure whether it is platform specific, but for our mac and linux boxes sorts will work in the request scope but not the user scope. You might find additional info in the list archives. -------------------------------------------------------------------- Shannon Henderson Web Support Services Reed College Portland, OR 97202-8199 503.517.7745 [EMAIL PROTECTED] -------------------------------------------------------------------- On Nov 3, 2008, at 10:44 AM, Beverly Voth wrote: I have a large solution that worked well until "SORTING" a list was requested. We make the SQL query and it's stored in an array (because it's far to complex to requery to get the "next 15" set of records for the list display). So a link on the list page is passing the sortType to be performed and an @IF tests for the sortType. It then performs an <@SORT ARRAY....> on the columns requested. It "seems" to work the first time you sort. However, from there it's too strange. Is the SORT actually re-arranging the ARRAY? And why would it not allow more than one sort action on the same array? Thanks, Beverly ________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf ________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf ________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
