From: <nk...@us...> - 2011-08-04 15:51:42
|
Revision: 35829 http://tikiwiki.svn.sourceforge.net/tikiwiki/?rev=35829&view=rev Author: nkoth Date: 2011-08-04 15:51:36 +0000 (Thu, 04 Aug 2011) Log Message: ----------- [bp/r35827][FIX] If you had "Content", "Content FR" and "Content::Subcontent" you would have gotten "Content::Subcontent" sorted after "Content FR" and therefore appear to be under the wrong parent category. Modified Paths: -------------- branches/7.x/lib/categories/categlib.php Modified: branches/7.x/lib/categories/categlib.php =================================================================== --- branches/7.x/lib/categories/categlib.php 2011-08-04 15:47:18 UTC (rev 35828) +++ branches/7.x/lib/categories/categlib.php 2011-08-04 15:51:36 UTC (rev 35829) @@ -124,7 +124,7 @@ $tepath[] = $cat['name']; } $categpath = implode("::",$tepath); - $categpathforsort = implode("!!",$tepath); // needed to prevent cat::subcat to be sorted after cat2::subcat + $categpathforsort = implode("!!",$tepath) . '!!'; // needed to prevent cat::subcat to be sorted after cat2::subcat $res["categpath"] = $categpath; $res["tepath"] = $tepath; $res["deep"] = count($tepath); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |