Fix a bug in the sidebar states when show zero is checked
This commit is contained in:
parent
f07c0d9894
commit
15dd22812d
|
@ -195,7 +195,7 @@ Copyright:
|
|||
removeZero: function(states) {
|
||||
var newStates = [];
|
||||
Ext.each(states, function(state) {
|
||||
if (state[1] > 0) {
|
||||
if (state[1] > 0 || state[0] == _('All')) {
|
||||
newStates.push(state);
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue