Indefero

Indefero Commit Details


Date:2012-04-17 17:55:29 (12 years 8 months ago)
Author:Thomas Keller
Branch:develop, release-1.3
Commit:d46df5c129145f630d94fed7da935da94d268a04
Parents: 316c57f85be30c862fa52b61c7a60e9aa3779ef2
Message:Fix PostgreSQL compatibility issues.

Changes:

File differences

NEWS.mdtext
1
1
2
3
4
5
6
7
8
9
10
211
312
413
# InDefero 1.3 - Sun Apr 15 21:10 2011 UTC
# InDefero 1.3.1 - xxx xxx xx xx:xx 2012 UTC
## Bugfixes
- Compatiblity fixes for PostgreSQL
## Language and Translations
# InDefero 1.3 - Sun Apr 15 21:10 2012 UTC
This new major release of Indefero is possible thanks to the sponsor of
[Scilab Enterprises](http://www.scilab-enterprises.com/).
src/IDF/Project.php
115115
116116
117117
118
119
118
120119
121120
122121
array(
'join' => 'LEFT JOIN '.$activityTable.' ON current_activity='.$activityTable.'.id '
.'LEFT JOIN '.$tagTable.' ON idf_project_id='.$this->getSqlTable().'.id',
'select' => $this->getSelect().', date, value',
'group' => $this->getSqlTable().'.id',
'select' => 'DISTINCT '.$this->getSelect().', date, value',
'props' => array(
'date' => 'current_activity_date',
'value' => 'current_activity_value'
src/IDF/Views.php
382382
383383
384384
385
385
386386
387387
388388
{
$db =& Pluf::db();
$false = Pluf_DB_BooleanToDb(false, $db);
$sql = new Pluf_SQL(1);
$sql = new Pluf_SQL('1=1');
if ($tag !== false) {
$sql->SAnd(new Pluf_SQL('idf_tag_id=%s', $tag->id));
}

Archive Download the corresponding diff file

Page rendered in 0.09646s using 13 queries.