module prefix should be converted with kebab instead of slug

This commit is contained in:
Sevan Nerse 2021-02-16 15:10:36 +03:00
parent 7a10757c8d
commit b59bbd5212

View File

@ -163,7 +163,7 @@ class SearchString extends Component
if (strpos($this->model, 'Modules') !== false) { if (strpos($this->model, 'Modules') !== false) {
$module_class = explode('\\', $this->model); $module_class = explode('\\', $this->model);
$url .= Str::slug($module_class[1], '-') . '::'; $url .= Str::kebab($module_class[1]) . '::';
} }
if (strpos($column, '_id') !== false) { if (strpos($column, '_id') !== false) {