Hi Blair, unfortunately, the code is creating an extra column of status within the table! So, still could see two columns of status, one with orderby and the other with no orderby.
Actions Status(with no orderby) (and a list of approved/draft/pending in following columns) Status(with orderby) (and a list of nothing!) ... other columns! venkat On Dec 22, 12:23 am, Blair McKenzie <[email protected]> wrote: > Is your custom content type versioned? I believe a status column is added > automatically in that case, which might cause an issue. If that's the case > you *might* be able to get around the problem by using a custom column: > > <cfset aCustomColumns = arraynew(1) /> > <cfset aCustomColumns[1] = structnew() /> > <cfset aCustomColumns[1].title = "Status" /> > <cfset aCustomColumns[1].sortable = true /> > <cfset aCustomColumns[1].property = "status" /> > > <ft:objectadmin ... > aCustomColumns="#aCustomColumns#" /> > > Blair > > On Thu, Dec 22, 2011 at 10:41 AM, James Buckingham <[email protected]>wrote: > > > > > > > > > Hi Blair, > > > Speaking on Neo's part here - basically the user's have asked to be able > > to order the Webtop listings by the status. > > > We've tried simply adding the "status" column into the SortableColumns > > attribute of objectAdmin but what we're getting back in our columns with > > something like this:- > > > Actions > > Status ( no order option ) > > Status ( with order option ) > > .... etc. > > > So by default FarCry is adding the Action and Status columns to the left > > hand side and then ours - that including this 2nd "Status" column with the > > asc / desc dropdown options. Ideally we just want a single. > > > Looking at the Core "customadmin" dmFile.cfm it looks like you guys have > > got it working but I can't see in the customadmin file how you've done it. > > > What's the magic password to get it working in our Custom Types please :-) > > > Cheers, > > James > > > -- > > You received this message cos you are subscribed to "farcry-dev" Google > > group. > > To post, email: [email protected] > > To unsubscribe, email: [email protected] > > For more options:http://groups.google.com/group/farcry-dev > > -------------------------------- > > Follow us on Twitter:http://twitter.com/farcry -- You received this message cos you are subscribed to "farcry-dev" Google group. To post, email: [email protected] To unsubscribe, email: [email protected] For more options: http://groups.google.com/group/farcry-dev -------------------------------- Follow us on Twitter: http://twitter.com/farcry
