From: <Ex...@us...> - 2012-03-30 08:26:48
|
Revision: 5167 http://web-erp.svn.sourceforge.net/web-erp/?rev=5167&view=rev Author: ExsonQu Date: 2012-03-30 08:26:37 +0000 (Fri, 30 Mar 2012) Log Message: ----------- 30/3/2012 Richard Andreu Modified security role to order by role name instead of by roleid to make it more user friendly in WWW_Access.php and WWW_Users.php Modified Paths: -------------- trunk/WWW_Access.php trunk/WWW_Users.php Modified: trunk/WWW_Access.php =================================================================== --- trunk/WWW_Access.php 2012-03-29 10:34:06 UTC (rev 5166) +++ trunk/WWW_Access.php 2012-03-30 08:26:37 UTC (rev 5167) @@ -100,7 +100,7 @@ $sql = "SELECT secroleid, secrolename FROM securityroles - ORDER BY secroleid"; + ORDER BY secrolename"; $result = DB_query($sql,$db); echo '<table class="selection">'; Modified: trunk/WWW_Users.php =================================================================== --- trunk/WWW_Users.php 2012-03-29 10:34:06 UTC (rev 5166) +++ trunk/WWW_Users.php 2012-03-30 08:26:37 UTC (rev 5167) @@ -37,7 +37,7 @@ $sql = "SELECT secroleid, secrolename FROM securityroles - ORDER BY secroleid"; + ORDER BY secrolename"; $Sec_Result = DB_query($sql, $db); $SecurityRoles = array(); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |