mirror of
https://github.com/joomla-extensions/patchtester.git
synced 2025-01-11 01:32:05 +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))
|
||||
{
|
||||
$query->where('a.pull_id LIKE ' . $db->quote('%' . (int) $search . '%'));
|
||||
$query->where('a.pull_id = ' . (int) $search);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user