update ui of admin and fix #53
This commit is contained in:
@@ -54,7 +54,7 @@ class CategoryRepository
|
||||
public function getOrderedCategories()
|
||||
{
|
||||
$currentLanguage = substr($this->l10nFactory->findLanguage(), 0, 2);
|
||||
$type = $this->config->getAppValueArray('categories-order-type', 'default');
|
||||
$type = $this->config->getAppValue('categories-order-type', 'default');
|
||||
$order = $this->config->getAppValueArray('categories-order', '[]');
|
||||
|
||||
$categoriesLabels = $this->config->getAppValueArray('cache-categories', '[]');
|
||||
@@ -76,7 +76,7 @@ class CategoryRepository
|
||||
|
||||
asort($categoriesLabels);
|
||||
|
||||
if ('custom' === $type || true) {
|
||||
if ('custom' === $type) {
|
||||
$ordered = [];
|
||||
|
||||
foreach ($order as $id) {
|
||||
|
||||
Reference in New Issue
Block a user