View Issue Details

IDProjectCategoryView StatusLast Update
0002572OXID eShop (all versions)1.01. Products (product, categories, manufacturer, promotions etc.)public2012-12-07 14:13
Reportertjungcl Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version4.4.7 revision 33396 
Fixed in Version4.5.0 revision 34568 
Summary0002572: category sorting with same sort-value sorts by default language
DescriptionAlso see 0002202, which seems to be a similar subject.
It says it's fixed, but it can still be reproduced in 4.4.7:



Steps To Reproduce- create two subcategories within the same category, both with sort = 0:
  - name the first: "A (de)" / "B (en)"
  - name the second "B (de)" / "A (en)"

- view in frontend:
  - in german the categories are sorted
    A (de)
    B (de)
  - in english the categories are sorted
    B (en)
    A (en)

Additional InformationCould be fixed by attaching
oxLang::getInstance()->getLanguageTag()
to the oxtitle in the order-by-clause.
TagsCategory
Theme
BrowserAll
PHP Versionany
Database Versionany

Activities

tjungcl

2011-03-01 14:32

reporter   ~0004160

Last edited: 2011-03-01 14:40

Forgot something:

"order by oxsort, oxtitle$langtag ..." should be used in oxcategorylist in the functions
- updateCategoryTree
- _updateNodes
- sortCats

We wrote a custom mod for that, works fine :-)
Ugly thing about it is, that this can't be achieved without overwriting those three functions totally for just that little change...