[Search] Fix reindexing
Flag domain objects as non-indexed on mutation to ensure reindexing. Done in the context of nasa/openmctweb#141.
This commit is contained in:
@@ -171,6 +171,7 @@ define(
|
||||
|
||||
// Re-index items when they are mutated
|
||||
mutationTopic.listen(function (domainObject) {
|
||||
indexed[domainObject.getId()] = false;
|
||||
indexItems([domainObject]);
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user