CMS MADE SIMPLE FORGE

ListItExtended

 

[#10043] Subcategories not sorted

avatar
Created By: jean-christophe ghio (jissey)
Date Submitted: Thu Jun 12 10:32:23 -0400 2014

Assigned To:
Version: 1.4.1
CMSMS Version: 1.11.10
Severity: Minor
Resolution: None
State: Open
Summary:
Subcategories not sorted
Detailed Description:
Hi,
when I have some subcategories in an instance of listit2, the order of the top
level catagories is good but not for the children.
In the class.ListIt2CategoryOperations.php file at line 253 I have add  ORDER BY
in the query :
$query = 'SELECT category_id FROM ' . cms_db_prefix() . 'module_' .
$mod->_GetModuleAlias() . '_category WHERE parent_id = ? AND active = 1 ORDER BY
position';
This is a bad solution but it works for my case but not with the orderby
parameter of the module.
It will be great if you could correct it.
Thanks.
Regards.


History

Comments
avatar
Date: 2014-06-12 10:42
Posted By: Tapio Löytty (Stikki)

Yup known issue and don't see solution coming to this in near future.
      
avatar
Date: 2014-06-12 10:50
Posted By: jean-christophe ghio (jissey)

yep,
ok but can't you apply my solution at least?
      
Updates

Updated: 2014-06-12 10:42
resolution_id: => 5