PDA

View Full Version : Really small bug


kolohe
7th of October 2006 (Sat), 17:16
In 1.5, the pulldown list for categories was sorted. In 2.0, it's not. It would be really nice if that was put back.

Pekka
7th of October 2006 (Sat), 18:11
I sort of thinked multilingual sorting by id :)
Added to wishlist.

kolohe
7th of October 2006 (Sat), 18:53
I have no idea if this has any ramifications to EE, but I inserted a rather simple fix for this issue.

In list.php, around line 1000, is a statement assigning the variable $fetchcategories_sql. At the end of that SQL statement, just add

ORDER BY ee_category_{$override_lang}.ee_category_name

and it seems to solve this issue.

I have no idea if that will break any multi-lingual aspects of the software, since I don't use those, but it works for me.

Use at your own risk, etc., etc.

Paul