Forum OpenACS Q&A: Re: Error with move up in ETP

Collapse
Posted by Torben Brosten on

Hello Bill Millikin,

I see this too and do not have a direct solution. However, the following change automatically orders items in alphabetical sequence by default, which works (for me) for pages not in edit mode:

In file: packages/edit-this-page/tcl/etp-procs.tcl line 628 or so, there is:

    set limit_clause ""

Just after that, add:

# by default, sort by title                                                                                                
        set orderby title

I believe the order will not be alphabetical for some locales. Hopefully this works, at least as a temporary fix, until someone submits a patch.

Collapse
Posted by Bill Millikin on
Thanx, Torben!

This is a good way to handle it, except that my subpages and links are in a 'logical' sequence, so alpha isn't desireable.

I hope a response will come on this so I don't have to go back to an earlier version or something...

I don't know enough about TCL and so on to debug this on my own.