mirror of
https://github.com/joomla-extensions/patchtester.git
synced 2025-01-11 09:35:17 +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:
commit
73cc997fc8
@ -108,7 +108,7 @@ class PullsModel extends \JModelDatabase
|
|||||||
}
|
}
|
||||||
elseif (is_numeric($search))
|
elseif (is_numeric($search))
|
||||||
{
|
{
|
||||||
$query->where('a.pull_id LIKE ' . $db->quote('%' . (int) $search . '%'));
|
$query->where('a.pull_id = ' . (int) $search);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user