fix a bug in pandora.getFindState

This commit is contained in:
rolux 2012-05-22 16:24:07 +00:00
parent 929ac10071
commit ad3e54997a

View file

@ -1245,8 +1245,8 @@ pandora.unloadWindow = function() {
return filter.index > -1; return filter.index > -1;
}).length; }).length;
// indices of non-advanced find queries // indices of non-advanced find queries
indices = find.conditions.map(function(condition) { indices = pandora.site.findKeys.map(function(findKey) {
return oneCondition(find.conditions, condition.key, '='); return oneCondition(find.conditions, findKey.id, '=');
}).filter(function(index) { }).filter(function(index) {
return index > -1; return index > -1;
}); });