O tym, których autorów wybrać do kolumny decyduje funkcja
function zjednostki(author) {
var affId = affiliationSearch.affiliation.id;
var aff = author.affiliation;
if (!author.externalAffiliation.empty) return false;
while (aff) {
if (aff.id == affId) {
return "PRACOWNIK"==author.status || "PRACOWNIK-DOKTORANT"==author.status;
}
aff = aff.affiliation;
}
return false;
}
7 linia wskazuje, że wybierane są tylko osoby ze statusem PRACOWNIK
oraz PRACOWNIK-DOKTORANT
.
Zmiana tej linii na:
return "PRACOWNIK"==author.status || "PRACOWNIK-DOKTORANT"==author.status || "DOKTORANT"==author.status;
powinna załatwić sprawę.