View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003310 | mantisbt | bugtracker | public | 2003-08-25 17:01 | 2003-12-13 04:35 |
Reporter | joakimwg | Assigned To | vboctor | ||
Priority | normal | Severity | tweak | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 0.18.0rc1 | ||||
Summary | 0003310: Sorting of projects in menu bar | ||||
Description | In version 0.18.0a4 and earlier the projects in the menu bar was sorted by name, since version 0.18.0rc1 they are sorted by id instead. This is probably fine if there aren't that many project, in our installation we have 50+ projects this makes it pretty hard to find a specific project in the drop down menu. Is this something that could be customized, to sort by id of name, or should it be reverted back to the way it was before? | ||||
Tags | No tags attached. | ||||
Attached Files | order_projects.diff (772 bytes)
Index: core/user_api.php =================================================================== RCS file: /cvsroot/mantisbt/mantisbt/core/user_api.php,v retrieving revision 1.59 diff -u -r1.59 user_api.php --- core/user_api.php 23 May 2003 11:52:27 -0000 1.59 +++ core/user_api.php 25 Aug 2003 22:21:01 -0000 @@ -478,7 +478,7 @@ $query = "SELECT DISTINCT( id ) FROM $t_project_table WHERE enabled=1 - ORDER BY id"; + ORDER BY name"; } else { $query = "SELECT DISTINCT( p.id ) FROM $t_project_table p @@ -488,7 +488,7 @@ OR (p.view_state='$t_private' AND u.user_id='$c_user_id') - ORDER BY p.id"; + ORDER BY p.name"; } $result = db_query( $query ); | ||||
MantisBT: master 3d89afef 2003-08-25 18:24 Details Diff |
Fix 0003310: Sorting of projects in menu bar. M core/user_api.php - Sort projects accessible to user by name rather than by id. git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@2258 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9 |
Affected Issues 0003310 |
|
mod - doc/ChangeLog | Diff File | ||
mod - core/user_api.php | Diff File |