Commit d1d94101661d1a61a1c3c7a0dfe13c9c5afd8218
1 parent
ce64afcb
Category link fix
Showing
1 changed file
with
3 additions
and
3 deletions
 
Show diff stats
frontend/views/category/view.php
| @@ -49,7 +49,7 @@ _________________________________________________________ --> | @@ -49,7 +49,7 @@ _________________________________________________________ --> | ||
| 49 | $model->parent->lang->title, | 49 | $model->parent->lang->title, | 
| 50 | [ | 50 | [ | 
| 51 | 'view', | 51 | 'view', | 
| 52 | - 'category' => $model->parent->lang->title, | 52 | + 'category' => $model->parent->lang->alias->value, | 
| 53 | ] | 53 | ] | 
| 54 | ); | 54 | ); | 
| 55 | } else { | 55 | } else { | 
| @@ -66,7 +66,7 @@ _________________________________________________________ --> | @@ -66,7 +66,7 @@ _________________________________________________________ --> | ||
| 66 | $childCategory->lang->title, | 66 | $childCategory->lang->title, | 
| 67 | ( $childCategory->id === $model->id ) ? '#' : [ | 67 | ( $childCategory->id === $model->id ) ? '#' : [ | 
| 68 | 'view', | 68 | 'view', | 
| 69 | - 'category' => $childCategory->lang->title, | 69 | + 'category' => $childCategory->lang->alias->value, | 
| 70 | ] | 70 | ] | 
| 71 | ), | 71 | ), | 
| 72 | [ | 72 | [ | 
| @@ -82,7 +82,7 @@ _________________________________________________________ --> | @@ -82,7 +82,7 @@ _________________________________________________________ --> | ||
| 82 | $childCategory->lang->title, | 82 | $childCategory->lang->title, | 
| 83 | [ | 83 | [ | 
| 84 | 'view', | 84 | 'view', | 
| 85 | - 'category' => $childCategory->lang->title, | 85 | + 'category' => $childCategory->lang->alias->value, | 
| 86 | ] | 86 | ] | 
| 87 | ) | 87 | ) | 
| 88 | ); | 88 | ); | 
