Set retrieved OA PDF title to reflect version
"Full Text", "Accepted Version", or "Submitted Version"
This commit is contained in:
parent
1860b57802
commit
e7e681c113
3 changed files with 31 additions and 4 deletions
|
@ -588,7 +588,7 @@ describe("Connector Server", function () {
|
|||
assert.lengthOf(ids, 1);
|
||||
item = Zotero.Items.get(ids[0]);
|
||||
assert.isTrue(item.isImportedAttachment());
|
||||
assert.equal(item.getField('title'), 'Title.pdf');
|
||||
assert.equal(item.getField('title'), Zotero.getString('attachment.submittedVersion'));
|
||||
});
|
||||
|
||||
|
||||
|
@ -742,7 +742,7 @@ describe("Connector Server", function () {
|
|||
assert.lengthOf(ids, 1);
|
||||
item = Zotero.Items.get(ids[0]);
|
||||
assert.isTrue(item.isImportedAttachment());
|
||||
assert.equal(item.getField('title'), 'Title.pdf');
|
||||
assert.equal(item.getField('title'), Zotero.getString('attachment.submittedVersion'));
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue