Indefero

Indefero Commit Details


Date:2011-06-29 17:25:29 (13 years 5 months ago)
Author:Thomas Keller
Branch:develop, feature.content-md5, feature.diff-whitespace, feature.issue-of-others, feature.search-filter, feature.webrepos, feature.wiki-default-page, release-1.2, release-1.3
Commit:7b2552f9409c326afb9b7d4e4c5bfb65ae340d85
Parents: 324b20221577880b89586bac0e94248d3bc5af6d
Message:Postgres (and probably others as well) needs an explicit char cast.

Changes:

File differences

src/IDF/Views/Issue.php
747747
748748
749749
750
750
751751
752752
753753
else {
// ID-based search
if (is_numeric($query)) {
$sql = new Pluf_SQL('project=%s AND id LIKE %s', array($prj->id, $query.'%'));
$sql = new Pluf_SQL('project=%s AND CAST(id AS CHAR) LIKE %s', array($prj->id, $query.'%'));
$tmp = Pluf::factory('IDF_Issue')->getList(array(
'filter' => $sql->gen(),
'order' => 'id ASC'

Archive Download the corresponding diff file

Page rendered in 0.08102s using 13 queries.