mirror of
https://github.com/joomla-extensions/patchtester.git
synced 2024-11-15 17:47:10 +00:00
Fix search
To test Before PR Enter any value in the filter column and you get an error After PR Make sure that text and numeric filters work
This commit is contained in:
parent
60165e4721
commit
b64ae94069
@ -128,7 +128,7 @@ class PullsModel extends \JModelDatabase
|
||||
|
||||
if (!empty($search))
|
||||
{
|
||||
$searchid = $search;
|
||||
$searchid = $db->quote($db->escape($search, true));
|
||||
$search = $db->quote('%' . $db->escape($search, true) . '%');
|
||||
$query->where(
|
||||
'(' . $db->quoteName('a.title') . ' LIKE ' . $search . ') OR ' .
|
||||
|
Loading…
Reference in New Issue
Block a user