[rhmessaging-commits] rhmessaging commits: r2486 - mgmt/trunk/cumin/python/cumin.
rhmessaging-commits at lists.jboss.org
rhmessaging-commits at lists.jboss.org
Wed Sep 17 09:41:56 EDT 2008
Author: eallen
Date: 2008-09-17 09:41:55 -0400 (Wed, 17 Sep 2008)
New Revision: 2486
Modified:
mgmt/trunk/cumin/python/cumin/job.strings
Log:
Temporarily removed {order_by} from Jobset sql to avoid problem with default sort column being None.
Modified: mgmt/trunk/cumin/python/cumin/job.strings
===================================================================
--- mgmt/trunk/cumin/python/cumin/job.strings 2008-09-16 21:54:14 UTC (rev 2485)
+++ mgmt/trunk/cumin/python/cumin/job.strings 2008-09-17 13:41:55 UTC (rev 2486)
@@ -20,7 +20,6 @@
left outer join job_stats as p on p.id = j.stats_prev_id
inner join scheduler as s on s.id = j.scheduler_id
{sql_where}
-{sql_orderby}
{sql_limit}
[JobSet.count_sql]
@@ -52,22 +51,6 @@
<div>{hidden_inputs}</div>
</form>
-[JobGroupSet.old.sql]
-select distinct
- j.custom_group as agroup,
-/* j.job_status,
- j.owner as submitter, */
- (select count(1)
- from job as j
- inner join scheduler as s on s.id = j.scheduler_id
- group by j.custom_group) as jobs
-from job as j
-left outer join job_stats as c on c.id = j.stats_curr_id
-left outer join job_stats as p on p.id = j.stats_prev_id
-{sql_where}
-{sql_orderby}
-{sql_limit}
-
[JobGroupSet.sql]
select distinct
j.custom_group as id,
@@ -76,7 +59,6 @@
1 as jobs
from job as j
{sql_where}
-{sql_orderby}
{sql_limit}
[JobGroupSet.count_sql]
More information about the rhmessaging-commits
mailing list