Description
Describe the bug
In OJS 3.1.2 the getAuthorString()
method used to pass a boolean true
to getAuthors
which respected the $includeInBrowse
flag. This was useful when displaying an author string on a front end template, like an issue's table of contents. That can be seen here:
https://github.com/pkp/pkp-lib/blob/stable-3_1_2/classes/submission/Submission.inc.php#L257
With the refactor to Publications
beginning in 3.2, the getAuthorString()
method in the PKPSubmission
class just hands off that call to the Publication
object, here:
https://github.com/pkp/pkp-lib/blob/stable-3_2_1/classes/submission/PKPSubmission.inc.php#L382
But the Publication
object now just fetches the authors property:
https://github.com/pkp/pkp-lib/blob/stable-3_2_1/classes/publication/PKPPublication.inc.php#L137
I'm not quite sure if it's still possible to filter by $includeInBrowse
, at least on the front end. This seems like a potentially complicated refactor, but perhaps the templates can iterate over the authors instead of calling this method?
We had a hosted client use the Quick Submit plugin to populate an issue in 3.2 and noticed this behaviour.
What application are you using?
OJS 3.2.1-4 (probably also in 3.3)
Metadata
Metadata
Assignees
Labels
Type
Projects
Status