From: <pri...@us...> - 2008-09-27 20:29:32
|
Revision: 5598 http://mantisbt.svn.sourceforge.net/mantisbt/?rev=5598&view=rev Author: prichards Date: 2008-09-27 20:29:30 +0000 (Sat, 27 Sep 2008) Log Message: ----------- Fix mssql query issue - date_submitted is ambigious - we're after bug_table one. Modified Paths: -------------- trunk/mantisbt/core/filter_api.php Modified: trunk/mantisbt/core/filter_api.php =================================================================== --- trunk/mantisbt/core/filter_api.php 2008-09-27 20:28:06 UTC (rev 5597) +++ trunk/mantisbt/core/filter_api.php 2008-09-27 20:29:30 UTC (rev 5598) @@ -793,7 +793,7 @@ $p_query_clauses['order'][] = "$t_bug_table.last_updated DESC"; } if ( ! in_array( 'date_submitted', $t_sort_fields ) ) { - $p_query_clauses['order'][] = 'date_submitted DESC'; } + $p_query_clauses['order'][] = $t_bug_table . '.date_submitted DESC'; } return $p_query_clauses; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |