addresses #933, subsequent-author-substitute no longer works
should fix issues with no authors. still need to come up with some way to make subsequent-author-substitute work for subsequent editors and translators, but this is a more difficult problem.
This commit is contained in:
parent
8ccae9c92b
commit
ee3f8ee47f
|
@ -2637,7 +2637,7 @@ Zotero.CSL.ItemSet.prototype.resort = function() {
|
|||
}
|
||||
|
||||
if(this.options["subsequent-author-substitute"]
|
||||
&& lastNames && lastNames.length == names.length) {
|
||||
&& lastNames && names.length && lastNames.length == names.length) {
|
||||
var namesDiffer = false;
|
||||
for(var j=0; j<names.length; j++) {
|
||||
namesDiffer = (names[j].getNameVariable("lastName") != lastNames[j].getNameVariable("lastName")
|
||||
|
|
Loading…
Reference in New Issue
Block a user