Page 1 of 1

Category and Sub Category Problems (1.5.6.1)

Posted: Tue Feb 11, 2014 4:54 am
by AlphaAlpha
Hi,
I've downloaded OC 1.5.6.1 and installed for testing on a free hosting.
Installed perfectly with no errors.

I have this problem, that I solved only for the 50%

I created for testing some categories that I have called :

AA (father) with Sort Order 100
|---AB (son of AA) with Sort Order 5
|---AC (son of AA) with Sort Order 10

at the beginning the result showed on the category view was :

AA Sort Order 100
|---AB Sort Order 100
|---AC Sort Order 100

looking on the forum I found this discussion: viewtopic.php?f=19&t=101559
and this patch : https://github.com/opencart/opencart/co ... 5858d4536b

Now the viewed results is like aspected :

AA Sort Order 100
|---AB Sort Order 5
|---AC Sort Order 10

at this time I inserted a new AA son called AD with Sort Order 6.

And I expected a result as :

AA Sort Order 100
|---AB Sort Order 5
|---AD Sort Order 6
|---AC Sort Order 10

but the result was as below, with an alphabetical sort of the "son name" instead of sorting the order number as above

AA Sort Order 100
|---AB Sort Order 5
|---AC Sort Order 10
|---AD Sort Order 6

Is it possible to view in the correct way as :

AA Sort Order 100
|---AB Sort Order 5
|---AD Sort Order 6
|---AC Sort Order 10

like in the previous version of OC ?

I am making something wrong ? or is an OC Problem ?

Thank you, and sorry for my English

Re: Category and Sub Category Problems (1.5.6.1)

Posted: Tue Feb 11, 2014 6:05 am
by Xyph3r
It works fine on default with no problem at all and no "patch" applied.

Re: Category and Sub Category Problems (1.5.6.1)

Posted: Tue Feb 11, 2014 1:43 pm
by AlphaAlpha
I doesn't work for me, here it is the picture :
Without Patch.tiff

Without Patch.tiff (33.88 KiB) Viewed 745 times

sort order for AAA is 100
Sort order for AB is 5
Sort order for AC is 10

but as you can see, sort order displayed is 100 for all.

with this "patch" : https://github.com/opencart/opencart/co ... 5858d4536b

the OC Display correctly :

AAA 100
AB 5
AC 10

but if I add AD with sort order 6, the result is

AAA 100
AB 5
AC 10
AD 6

instead of
AAA 100
AB 5
AD 6
AC 10

If needed I can add more pictures

Thank you