Which template defines the FirstLast name order for reviewers in review round tab of submission workflow ?
Thank you.
— Hiroshi
Which template defines the FirstLast name order for reviewers in review round tab of submission workflow ?
Thank you.
— Hiroshi
Thank you for your reply.
I found
lib/pkp/classes/submission/reviewAssignment/ReviewAssinmentDAO.in.php
defines first last order of reviewer’s name in Review tab.
function _fromRow($row) {
$reviewAssignment = $this->newDataObject();
$reviewAssignment->setId($row['review_id']);
$reviewAssignment->setSubmissionId($row['submission_id']);
$reviewAssignment->setReviewerId($row['reviewer_id']);
$reviewAssignment->setReviewerFullName($row['first_name'].' '.$row['last_name']);
$reviewAssignment->setCompetingInterests($row['competing_interests']);
$reviewAssignment->setRecommendation($row['recommendation']);
$reviewAssignment->setDateAssigned($this->datetimeFromDB($row['date_assigned']));
I changed $reviewAssignment->setReviewerFullName($row[‘first_name’].’ '.$row[‘last_name’]); to
$reviewAssignment->setReviewerFullName($row[‘last_name’].’ '.$row[‘first_name’]);
This works.
By the way,
I want to change the order of first and last names for User in the Editorial History popup in Submission page.
Which php or tpl should I edit?
Thank you again.
— Hiroshi
Probably this https://github.com/pkp/pkp-lib/blob/master/controllers/grid/eventLog/EventLogGridCellProvider.inc.php#L40
Thank you.
I need to edit “getUserFullName()” function.
Where is it?
— Hiroshi