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:
parent
1fbafcb37d
commit
362de4cc8d
|
@ -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