Categories in Accordion menu always sort descending


https://forum.kartris.com/Topic1171.aspx
Print Topic | Close Window

By TheCalicoTree - Mon 8 Aug 2011
I am using the accordion menu for my categories and no matter which option I select for the sorting of sub categories they are always displaying in descending order:

http://mellcrest.thecalicotree.co.uk/kartris/Default.aspx?

Has anyone else experienced this problem? I am sure that there must be a setting that I have changed that is conflicting with another perhaps?


Any ideas?

Thanks
By Mohammad - Mon 8 Aug 2011
Yeah, we experienced that in Kartris v1.3x, and will be fixed in the next release.

Follow the below steps to have it fixed:

1. Go to {Kartris_Folder}\UserControls\Skin\CategoryMenuAccordion.ascx.vb
2. In line# 67 replace this:
For numSubCounter As Integer = 0 To nodSiteMap.ChildNodes.Count - 1

By this:
For numSubCounter As Integer = nodSiteMap.ChildNodes.Count - 1 To 0 Step -1

Then save the file and here you go.
By TheCalicoTree - Mon 15 Aug 2011
Thanks, that fix worked.