Scholar -> Zotero (thanks Dan S.)
This commit is contained in:
parent
c08a82e831
commit
ac50ab16a2
2 changed files with 2 additions and 2 deletions
|
@ -1243,7 +1243,7 @@ Zotero.CSL.prototype._getFieldValue = function(name, element, item, formattedStr
|
||||||
status = true;
|
status = true;
|
||||||
}
|
}
|
||||||
} else if(condition.field) {
|
} else if(condition.field) {
|
||||||
var formattedString = new Scholar.CSL.FormattedString(this, "Text");
|
var formattedString = new Zotero.CSL.FormattedString(this, "Text");
|
||||||
status = this._getFieldValue(condition.field, this._getFieldDefaults(condition.field), item,
|
status = this._getFieldValue(condition.field, this._getFieldDefaults(condition.field), item,
|
||||||
formattedString, bibCitElement);
|
formattedString, bibCitElement);
|
||||||
}
|
}
|
||||||
|
|
|
@ -7108,7 +7108,7 @@ record.prototype.translate = function(item) {
|
||||||
// some LOC entries have no listed author, but have the author in the person subject field as the first entry
|
// some LOC entries have no listed author, but have the author in the person subject field as the first entry
|
||||||
var field = this.getFieldSubfields("600");
|
var field = this.getFieldSubfields("600");
|
||||||
if(field[0]) {
|
if(field[0]) {
|
||||||
item.creators.push(Scholar.Utilities.cleanAuthor(field[0]["a"], true));
|
item.creators.push(Zotero.Utilities.cleanAuthor(field[0]["a"], true));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue