|
From: Benjamin C. <bc...@us...> - 2004-02-25 12:54:40
|
Update of /cvsroot/phpbt/phpbt/inc/db In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11146/inc/db Modified Files: Tag: phpbt-1_0 mysql.php oci8.php pgsql.php Log Message: Sort the history by created_date Index: mysql.php =================================================================== RCS file: /cvsroot/phpbt/phpbt/inc/db/mysql.php,v retrieving revision 1.17.2.1 retrieving revision 1.17.2.2 diff -u -r1.17.2.1 -r1.17.2.2 --- mysql.php 25 Jul 2003 02:50:08 -0000 1.17.2.1 +++ mysql.php 25 Feb 2004 12:47:29 -0000 1.17.2.2 @@ -50,7 +50,7 @@ 'bug-history' => 'select bh.*, login '. 'from '.TBL_BUG_HISTORY.' bh '. 'left join '. TBL_AUTH_USER.' on bh.created_by = user_id '. - 'where bug_id = %s', + 'where bug_id = %s order by bh.created_date', 'bug-cc-list' => 'select email '. 'from '.TBL_BUG_CC.' left join '. TBL_AUTH_USER.' u using(user_id), '. TBL_USER_PREF.' p '. Index: oci8.php =================================================================== RCS file: /cvsroot/phpbt/phpbt/inc/db/oci8.php,v retrieving revision 1.15.2.1 retrieving revision 1.15.2.2 diff -u -r1.15.2.1 -r1.15.2.2 --- oci8.php 25 Feb 2004 12:42:30 -0000 1.15.2.1 +++ oci8.php 25 Feb 2004 12:47:30 -0000 1.15.2.2 @@ -54,7 +54,7 @@ 'and group_name <> \'User\'', 'bug-history' => 'select bh.*, login '. 'from '.TBL_BUG_HISTORY.' bh, '.TBL_AUTH_USER . - ' where user_id = bh.created_by(+) and bug_id = %s', + ' where user_id = bh.created_by(+) and bug_id = %s order by bh.created_date', 'bug-cc-list' => 'select email '. 'from '.TBL_BUG_CC.' bc, ' . TBL_AUTH_USER.' u, ' . TBL_USER_PREF.' p '. 'where u.user_id = bc.user_id(+) and u.user_id = p.user_id '. Index: pgsql.php =================================================================== RCS file: /cvsroot/phpbt/phpbt/inc/db/pgsql.php,v retrieving revision 1.24 retrieving revision 1.24.2.1 diff -u -r1.24 -r1.24.2.1 --- pgsql.php 21 Jun 2003 13:36:30 -0000 1.24 +++ pgsql.php 25 Feb 2004 12:47:30 -0000 1.24.2.1 @@ -51,7 +51,7 @@ 'bug-history' => 'select bh.*, login '. 'from '.TBL_BUG_HISTORY.' bh '. 'left join '. TBL_AUTH_USER.' on bh.created_by = user_id '. - 'where bug_id = %s', + 'where bug_id = %s order by bh.created_date', 'bug-cc-list' => 'select email '. 'from '.TBL_BUG_CC.' left join '. TBL_AUTH_USER.' u using(user_id), '. TBL_USER_PREF.' p '. |