Fix a bug in the sidebar states when show zero is checked

This commit is contained in:
Damien Churchill 2009-07-30 21:37:01 +00:00
parent f07c0d9894
commit 15dd22812d
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
});