View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006274 | mantisbt | administration | public | 2005-09-20 06:59 | 2007-08-02 02:32 |
Reporter | vadivelkm | Assigned To | giallu | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | no change required | ||
Product Version | 1.0.0a2 | ||||
Summary | 0006274: Sorting doesn't work on Mantis "View Issues" on the menu | ||||
Description | In "View Issues", if we select for instance ID field, items are not shown we have to click more than twice for sorting the table. | ||||
Tags | No tags attached. | ||||
Are you able to reproduce this on 1.0.0rc2? Or on this installation? |
|
on our development server we are having this error and it can be reproduce all the time |
|
Had the same ... turns out that MySQL screwed up the sorting when doing a SELECT DISTINCT. Fixed it by replacing the distinct through a GROUP BY id in core/filter_api.php: around line 724: $query = "SELECT $t_bug_table.id AS id $t_from around line 854: $t_order = " GROUP BY id ORDER BY " . implode( ', ', $t_order_array ); $query2 = "SELECT $t_select Hope that helps ... mysql version is 4.1.21-standard |
|
It seems this is a duplicate of 0007476, and both not mantis fault: see comment 0007476:0013618. Feel free to reopen if you believe that this is a different issue. |
|