Project

General

Profile

Actions

Defect #18896

closed

Grouping of Boolean field in Query: group not displayed for "No" value if the group is in first position

Added by kaz k about 9 years ago. Updated about 9 years ago.

Status:
Closed
Priority:
Normal
Category:
Custom fields
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

When I submit the query with "Group results by" the boolean field which is defined as "required" , collapse/expand indicator line for "No" is not displayed.
  • Tickets are distinguished into 2 groups, one for "No" and the other for "Yes". OK.
  • But collapse/expand indicator line for "No" is not displayed. It should be displayed, I think.
    • On the other hand, collapse/expand indicator line for "Yes" is displayed. OK.

I'd appreciate if this issue is picked up and will be examined/fixed.

Kind regards,


  • Reported version
    Redmine 2.5.0.stable.
    Details are as follows.
    1. Test redmine (Windows7)
      Environment:
        Redmine version                2.5.0.stable
        Ruby version                   1.9.3-p231 (2012-05-25) [i386-mingw32]
        Rails version                  3.2.17
        Environment                    production
        Database adapter               Mysql2
      
    2. Production redmine (Linux)
      Environment:
        Redmine version                2.5.0.stable
        Ruby version                   1.9.3-p484 (2013-11-22) [x86_64-linux]
        Rails version                  3.2.17
        Environment                    production
        Database adapter               PostgreSQL
      

Note: This phenomena does not happen with a boolean field which is not defined as "required". In this case, 3 collapse/expand indicator lines are displayed (with misleading labels ( see #18894 ) when this ticket is created).


Files

03_English_QueryResult_GroupedByBoolean(required)_NoIsGroupedWithoutCollapse-Expand-Indicatorline.jpg (105 KB) 03_English_QueryResult_GroupedByBoolean(required)_NoIsGroupedWithoutCollapse-Expand-Indicatorline.jpg screen capture of query-result grouped by boolean field (specified as equired) kaz k, 2015-01-19 08:33
2.6.1.png (34.9 KB) 2.6.1.png Toshi MARUYAMA, 2015-01-19 08:47
2.6.1-confirmed.png (16.9 KB) 2.6.1-confirmed.png Toshi MARUYAMA, 2015-01-19 10:50
Actions

Also available in: Atom PDF