We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 53a97af commit 790f5baCopy full SHA for 790f5ba
src/app/Models/Traits/SpatieTranslatable/SlugService.php
@@ -88,7 +88,7 @@ protected function makeSlugUnique(string $slug, array $config, string $attribute
88
89
$method = $config['uniqueSuffix'];
90
if ($method === null) {
91
- $suffix = $this->generateSuffix($slug, $separator, $list);
+ $suffix = $this->generateSuffix($slug, $separator, $list, $config['firstUniqueSuffix']);
92
} elseif (is_callable($method)) {
93
$suffix = call_user_func($method, $slug, $separator, $list);
94
} else {
0 commit comments