View Issue Details

IDProjectCategoryView StatusLast Update
0006211mantisbtpreferencespublic2012-08-26 15:05
Reporterurkle Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Product Version1.0.0rc1 
Summary0006211: access_levels should be sorted in the project management page
Description

The manage_config_work_threshold_page.php should have the t_access_levels variable sorted on line 28 in the same fashion as manage_config_work_threshold_set.php. So the access levels are shown in order on the page.

related to issue 0005438

TagsNo tags attached.
Attached Files
mantis.diff (438 bytes)   
--- manage_config_work_threshold_page.php	2005-09-01 23:27:33.000000000 -0500
+++ manage_config_work_threshold_page.php.orig	2005-09-01 23:33:05.000000000 -0500
@@ -26,8 +26,6 @@
 	$t_show_submit = false;
 
 	$t_access_levels = get_enum_to_array( config_get( 'access_levels_enum_string' ) );
-        ksort( $t_access_levels );
-	reset( $t_access_levels );
 
 	function get_section_begin( $p_section_name ) {
 		global $t_access_levels;

mantis.diff (438 bytes)   

Activities

urkle

urkle

2005-09-02 00:48

reporter   ~0011337

this also needs to be done on the manage_config_email_page.php.

Or should this possibly be placed in the get_enum_to_array or config_get functions to sort the arrays? As all the drop boxes with access levels also need to be sorted.

urkle

urkle

2005-09-02 01:11

reporter   ~0011338

workaround:
replaced my
$g_access_levels_enum_string .= ',50:logger';
to
$g_access_levels_enum_string = str_replace(',55:',',50:logger,55:',$g_access_levels_enum_string);

siebrand

siebrand

2009-06-13 04:32

reporter   ~0022140

Any news here? This issue has been assigned for years without activity...