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;
|
||||
}).length;
|
||||
// indices of non-advanced find queries
|
||||
indices = find.conditions.map(function(condition) {
|
||||
return oneCondition(find.conditions, condition.key, '=');
|
||||
indices = pandora.site.findKeys.map(function(findKey) {
|
||||
return oneCondition(find.conditions, findKey.id, '=');
|
||||
}).filter(function(index) {
|
||||
return index > -1;
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue