Commit 317102b6 authored by Jonny Bradley's avatar Jonny Bradley
Browse files

[FIX] plugins: Wildcard searches weren't working in elasticsearch so simplify...

[FIX] plugins: Wildcard searches weren't working in elasticsearch so simplify the query (the results are filtered for plugins starting with `wikiplugin_` after anyway)
parent f7b81f94
Pipeline #715019905 passed with stages
in 8 minutes and 21 seconds
......@@ -50,10 +50,10 @@ class Services_Edit_PluginController
$res = [];
if ($filter) {
$query = 'wikiplugin_* AND ' . $filter;
$query = "wikiplugin AND $filter";
$sort = '';
} else {
$query = 'wikiplugin_*';
$query = "wikiplugin";
$sort = 'object_id_asc';
}
$filters = TikiLib::lib('prefs')->getEnabledFilters();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment