Don't include items in My Publications in Unfiled Items
This commit is contained in:
parent
2160b1cb87
commit
de7b56b8a1
3 changed files with 20 additions and 2 deletions
|
@ -395,7 +395,9 @@ function createUnsavedDataObject(objectType, params = {}) {
|
|||
itemType = params.itemType || 'book';
|
||||
allowedParams.push('dateAdded', 'dateModified');
|
||||
}
|
||||
|
||||
if (objectType == 'item') {
|
||||
allowedParams.push('inPublications');
|
||||
}
|
||||
if (objectType == 'feedItem') {
|
||||
params.guid = params.guid || Zotero.randomString();
|
||||
allowedParams.push('guid');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue