Fix error modifying existing saved search with more than 1 condition
Closes #1056, which wasn't actually the problem
This commit is contained in:
parent
18cf6088b0
commit
c1f7a188e2
3 changed files with 4 additions and 2 deletions
|
@ -386,6 +386,7 @@ function createUnsavedDataObject(objectType, params = {}) {
|
|||
|
||||
if (objectType == 'search') {
|
||||
obj.addCondition('title', 'contains', Zotero.Utilities.randomString());
|
||||
obj.addCondition('title', 'isNot', Zotero.Utilities.randomString());
|
||||
}
|
||||
|
||||
Zotero.Utilities.assignProps(obj, params, allowedParams);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue