Merge pull request #1867 from SevanNerse/master

module prefix should be converted with kebab instead of slug
This commit is contained in:
Cüneyt Şentürk 2021-02-16 15:29:18 +03:00 committed by GitHub
commit 57a99d3821
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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