Restore locally deleted collections and searches that changed remotely

Also restore items that were in the collections
This commit is contained in:
Dan Stillman 2017-06-18 05:49:25 -04:00
parent 24b43ae3a7
commit 47741e75fa
5 changed files with 222 additions and 13 deletions

View file

@ -393,7 +393,7 @@ function createUnsavedDataObject(objectType, params = {}) {
var itemType;
if (objectType == 'item' || objectType == 'feedItem') {
itemType = params.itemType || 'book';
allowedParams.push('dateAdded', 'dateModified');
allowedParams.push('deleted', 'dateAdded', 'dateModified');
}
if (objectType == 'item') {
allowedParams.push('inPublications');