31
0
mirror of https://github.com/joomla-extensions/patchtester.git synced 2024-05-29 03:50:46 +00:00

Postgresql - bigint field "pull_id" doesn't like LIKE operator - #175

bigint field "pull_id" doesn't like LIKE operator
This commit is contained in:
Nicola Galgano 2016-11-06 08:49:39 +01:00 committed by GitHub
parent 1fbafcb37d
commit 362de4cc8d

View File

@ -108,7 +108,7 @@ class PullsModel extends \JModelDatabase
}
elseif (is_numeric($search))
{
$query->where('a.pull_id LIKE ' . $db->quote('%' . (int) $search . '%'));
$query->where('a.pull_id = ' . (int) $search);
}
else
{