forked from deblan/side_menu
update ui of admin and fix #53
This commit is contained in:
parent
b06df8ad9f
commit
c893391065
3 changed files with 397 additions and 374 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue