31
0
mirror of https://github.com/joomla-extensions/patchtester.git synced 2024-06-04 14:40:47 +00:00

Merge pull request #176 from alikon/patch-3

Postgresql - bigint field "pull_id" doesn't like LIKE operator - #175
This commit is contained in:
Michael Babker 2016-11-06 09:40:14 -06:00 committed by GitHub
commit 73cc997fc8

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
{