Index: openacs-4/packages/xowf/tcl/atjob-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xowf/tcl/atjob-procs.tcl,v diff -u -N -r1.3.2.6 -r1.3.2.7 --- openacs-4/packages/xowf/tcl/atjob-procs.tcl 1 Mar 2017 13:57:18 -0000 1.3.2.6 +++ openacs-4/packages/xowf/tcl/atjob-procs.tcl 1 Mar 2017 14:01:34 -0000 1.3.2.7 @@ -167,7 +167,7 @@ and cr.revision_id = i1.live_revision and xi.publish_status = 'production' and xi.package_id is not null - order by i1.title desc, xi.item_id asc " + order by cr.title desc, xi.item_id asc " set item_ids [::xo::dc list get_due_atjobs $sql]