Commit 70c9a713cb6e4914e281fdfbacf3912464d4b7f7
1 parent
0e484f53
-Some menu manipulation
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
frontend/views/layouts/main.php
@@ -187,7 +187,7 @@ | @@ -187,7 +187,7 @@ | ||
187 | 187 | ||
188 | foreach ($pageCategories as $pageCategory){ | 188 | foreach ($pageCategories as $pageCategory){ |
189 | foreach ($pageCategory->pages as $page){ | 189 | foreach ($pageCategory->pages as $page){ |
190 | - $position = $page->sort; | 190 | + $position = $page->sort -1; |
191 | $toInsert = [[ | 191 | $toInsert = [[ |
192 | 'label' => $page->lang->title, | 192 | 'label' => $page->lang->title, |
193 | 'url' => [ | 193 | 'url' => [ |