forked from 0x2620/pandora
fix a bug in pandora.getFindState
This commit is contained in:
parent
929ac10071
commit
ad3e54997a
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue