Hi with postgres I get:
Database error
Invalid SQL: SELECT egw_tracker.,(SELECT COUNT() FROM egw_tracker_votes
WHERE egw_tracker.tr_id=egw_tracker_votes.tr_id) AS votes,(SELECT
SUM(bounty_amount) FROM egw_tracker_bounties WHERE
egw_tracker.tr_id=egw_tracker_bounties.tr_id AND bounty_confirmed IS NOT
NULL) AS bounties FROM egw_tracker WHERE tr_tracker=45 AND (tr_status !=
’-101’ AND tr_status != ‘-102’) GROUP BY egw_tracker.tr_id ORDER BY
bounties DESC,votes DESC:
FEHLER: Spalte »egw_tracker.tr_summary« muss in der GROUP-BY-Klausel
erscheinen oder in einer Aggregatfunktion verwendent werden
#0
/srv/www/htdocs/fibutux.de/egroupware/phpgwapi/inc/class.egw_db.inc.php(650):
egw_db->halt(‘Invalid SQL: SE…’, 828, ‘/srv/www/htdocs…’) #1
/srv/www/htdocs/fibutux.de/egroupware/phpgwapi/inc/class.egw_db.inc.php(1868):
egw_db->query(‘SELECT egw_trac…’, 828, ‘/srv/www/htdocs…’, 0, 0, false,
2) #2
/srv/www/htdocs/fibutux.de/egroupware/etemplate/inc/class.so_sql.inc.php(829):
egw_db->select(‘egw_tracker’, ‘egw_tracker.,(…’, Array, 828,
’/srv/www/htdocs…’, 0, ’ GROUP BY egw_t…’, ‘tracker’, 0, ‘’) #3
/srv/www/htdocs/fibutux.de/egroupware/tracker/inc/class.tracker_so.inc.php(437):
so_sql->search(’’, 'egw_tracker.’, ’ GROUP BY egw_t…’, Array, ‘%’, false,
‘OR’, 0, Array, ‘’) #4
/srv/www/htdocs/fibutux.de/egroupware/tracker/inc/class.tracker_bo.inc.php(1076):
tracker_so->search(’’, false, ‘bounties DESC’, ‘’, ‘%’, false, ‘OR’, 0,
Array, true, false) #5
/srv/www/htdocs/fibutux.de/egroupware/tracker/inc/class.tracker_ui.inc.php(646):
tracker_bo->get_rows(Array, NULL, NULL, true) #6
/srv/www/htdocs/fibutux.de/egroupware/etemplate/inc/class.nextmatch_widget.inc.php(310):
tracker_ui->get_rows(Array, NULL, NULL) #7
/srv/www/htdocs/fibutux.de/egroupware/etemplate/inc/class.boetemplate.inc.php(528):
nextmatch_widget->pre_process(‘exec[nm]’, Array, Array, Array, Array,
Object(etemplate)) #8
/srv/www/htdocs/fibutux.de/egroupware/etemplate/inc/class.uietemplate.inc.php(1001):
boetemplate->extensionPreProcess(‘nextmatch’, ‘exec[nm]’, Array, Array,
Array) #9
/srv/www/htdocs/fibutux.de/egroupware/etemplate/inc/class.uietemplate.inc.php(800):
etemplate->show_cell(Array, Array, Array, ‘exec’, 0, 2, ‘all’, ‘’, ‘/0/3A’) #10
/srv/www/htdocs/fibutux.de/egroupware/etemplate/inc/class.uietemplate.inc.php(1332):
etemplate->show_grid(Array, Array, Array, ‘exec’, 0, 0, ‘/0’) #11
/srv/www/htdocs/fibutux.de/egroupware/etemplate/inc/class.uietemplate.inc.php(607):
etemplate->show_cell(Array, Array, Array, ‘exec’, 0, 0, ‘’, NULL, ‘/0’) #12
/srv/www/htdocs/fibutux.de/egroupware/etemplate/inc/class.uietemplate.inc.php(220):
etemplate->show(Array, Array, Array, ‘exec’) #13
/srv/www/htdocs/fibutux.de/egroupware/tracker/inc/class.tracker_ui.inc.php(942):
etemplate->exec(‘tracker.tracker…’, Array, Array, Array, Array) #14 /srv/www/htdocs/fibutux.de/egroupware/index.php(128):
tracker_ui->index() #15 {main}
I think POSTGRES cannot handle that kind of stuff.
MYSQL seems to have no problems.