Skip to content

Commit

Permalink
corrected Search Filter
Browse files Browse the repository at this point in the history
  • Loading branch information
pe7er committed Jun 28, 2016
1 parent 10e4178 commit e411b97
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ protected function getListQuery()
}
else
{
$search = $db->Quote('%' . $db->escape($search, true) . '%');
$query->where('a.title LIKE ' . $db->Quote('%' . $db->escape($search, true) . '%'));
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ protected function getListQuery()
}
else
{
$search = $db->Quote('%' . $db->escape($search, true) . '%');
$query->where('a.title LIKE ' . $db->Quote('%' . $db->escape($search, true) . '%'));
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
<field
name="search"
type="text"
label="COM_DB8SITEDEV_FILTER_SEARCH_DESC"
description="COM_DB8SITEDEV_FILTER_SEARCH_DESC"
label="JSEARCH_FILTER"
description="JSEARCH_FILTER"
hint="JSEARCH_FILTER"
/>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
<field
name="search"
type="text"
label="COM_DB8SITEDEV_FILTER_SEARCH_DESC"
description="COM_DB8SITEDEV_FILTER_SEARCH_DESC"
label="JSEARCH_FILTER"
description="JSEARCH_FILTER"
hint="JSEARCH_FILTER"
/>

Expand Down

0 comments on commit e411b97

Please # to comment.