|
From: Benjamin C. <bc...@us...> - 2004-02-25 12:55:00
|
Update of /cvsroot/phpbt/phpbt/inc/db In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11190/inc/db Modified Files: Tag: htmltemplates 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.18 retrieving revision 1.18.2.1 diff -u -r1.18 -r1.18.2.1 --- mysql.php 24 Jul 2003 04:47:13 -0000 1.18 +++ mysql.php 25 Feb 2004 12:47:48 -0000 1.18.2.1 @@ -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.4.1 retrieving revision 1.15.4.2 diff -u -r1.15.4.1 -r1.15.4.2 --- oci8.php 25 Feb 2004 12:42:11 -0000 1.15.4.1 +++ oci8.php 25 Feb 2004 12:47:48 -0000 1.15.4.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.4.1 diff -u -r1.24 -r1.24.4.1 --- pgsql.php 21 Jun 2003 13:36:30 -0000 1.24 +++ pgsql.php 25 Feb 2004 12:47:48 -0000 1.24.4.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 '. |