deecay / redmine_pivot_table

This Redmine plugin allows you to generate pivot table for issue analysis.
MIT License
52 stars 38 forks source link

pivot_table use custom value can not be loaded the first value #19

Closed archonwang closed 8 years ago

archonwang commented 8 years ago

it's stange, when I use the custom field , it can not load the first value and display null for the count.

deecay commented 8 years ago

Hi. Could you give me more details? What data type of c.f. is it? Text? Boolean? What do you mean by "first"? First c.f. of a ticket, or the first value of the n numbers of tickets?

I would need mode specific details of the issue to look into it.

archonwang commented 8 years ago

I used customize field name like 'Environment' , type as list, values as ' 中文环境 English Korean US English '

and when I use the field in pivot_table ,it can not load value "中文环境",and it is the first value I have defined.

deecay commented 8 years ago

Looks like working in my test environment. Does the place of the entry (first value) matter? Does changing the 4 characters to a different one matter?

snapcrab_noname_2016-5-13_14-51-45_no-00

archonwang commented 8 years ago

Sorry that I do not know how to submit images on github.

YES.
just as you see, the first value lost, but it still can be counted in table. and just the customize field occured to miss the first value.

deecay commented 8 years ago

Are you talking about the "4" with Null header in my image? The header is null because 4 tickets have no environment value assigned. If you select all 4 tickets and assign environments, then the null row will disappear.

I'm not sure if I'm getting your question right, so please tell me otherwise.

archonwang commented 8 years ago

I See, Thanks for your apply.