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

Correct for search with partial

This commit is contained in:
photodude 2015-12-17 09:52:59 -07:00
parent 9b83c614a4
commit 8052c08aaa

View File

@ -134,7 +134,7 @@ class PullsModel extends \JModelDatabase
}
elseif (is_numeric($search))
{
$query->where('(' . $db->quoteName('a.id') . ' LIKE ' . (int) $search . ')');
$query->where('(' . $db->quoteName('a.id') . ' LIKE "% ' . (int) $search . '%")');
}
else
{