View Issue Details

IDProjectCategoryView StatusLast Update
0001759OXID eShop (all versions)1.01. Products (product, categories, manufacturer, promotions etc.)public2012-12-07 14:13
ReporterOliver Storm Assigned To 
PriorityhighSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product Version4.3.0 revision 26948 
Fixed in Version4.3.2 revision 27884 
Summary0001759: Categories: DB-Field Sorting does not work
DescriptionHai,

Sorting: Using numbers to define a (user-)specific sort does not work anymore.

Rgds
Olli
TagsCategory
Theme
BrowserAll
PHP Versionany
Database Versionany

Activities

csimon

2010-05-05 14:41

reporter   ~0002623

hi,

fix.

set line 483, oxcategorylist:

        foreach (array_keys($aParents) as $sParent) {
            if (isset($this->_aArray[$sParentId])) {
                $this->_aArray[$sParent]->sortSubCats();
            }
        }

to:

        foreach (array_keys($aParents) as $sParent) {
            if (isset($this->_aArray[$sParent])) {
                $this->_aArray[$sParent]->sortSubCats();
            }
        }

it's a typo in the if statement, and "$sParentId" is from an earlier loop.

sarunas_valaskevicius

2010-05-11 16:17

reporter   ~0002741

fixed as proposed