diff --git a/administrator/components/com_templates/src/Model/StylesModel.php b/administrator/components/com_templates/src/Model/StylesModel.php index 69308e029924a..9073547198cca 100644 --- a/administrator/components/com_templates/src/Model/StylesModel.php +++ b/administrator/components/com_templates/src/Model/StylesModel.php @@ -240,12 +240,12 @@ protected function getListQuery() $query->extendWhere( 'AND', [ - 'LOWER(' . $db->quoteName('a.template') . ') LIKE :template', + 'LOWER(' . $db->quoteName('a.template') . ') LIKE :templatesearch', 'LOWER(' . $db->quoteName('a.title') . ') LIKE :title', ], 'OR' ) - ->bind(':template', $search) + ->bind(':templatesearch', $search) ->bind(':title', $search); } }