diff --git a/Changelog b/Changelog index 5bad7de5a..e598a6392 100755 --- a/Changelog +++ b/Changelog @@ -1,4 +1,5 @@ 2018-05-21 DariusIII + * Fix: Prevent duplicated 'All' on browse all releases * Chg: Add .editorconfig file * Fix: Fix errors in full series view * Chg: Re-use old code and fix _totalrows and _totalcount insertion into existing array/object diff --git a/app/Http/Controllers/BrowseController.php b/app/Http/Controllers/BrowseController.php index 9460f2c3e..bc34ba19d 100644 --- a/app/Http/Controllers/BrowseController.php +++ b/app/Http/Controllers/BrowseController.php @@ -128,7 +128,11 @@ class BrowseController extends BasePageController $this->smarty->assign('catname', $grp); } - $meta_title = 'Browse '.$parentCategory.' / '.$id; + if ($id === 'All' && $parentCategory === 'All') { + $meta_title = 'Browse '.$parentCategory .' releases'; + } else { + $meta_title = 'Browse '.$parentCategory.' / '.$id.' releases'; + } $meta_keywords = 'browse,nzb,description,details'; $meta_description = 'Browse for Nzbs'; diff --git a/resources/views/themes/Charisma/browse.tpl b/resources/views/themes/Charisma/browse.tpl index a76d89a02..20ea7a3d7 100755 --- a/resources/views/themes/Charisma/browse.tpl +++ b/resources/views/themes/Charisma/browse.tpl @@ -1,13 +1,13 @@