The author “Redaktion, die” (which translates to “editorial staff”) should not be included in the browse list. The setting was made accordingly.
At first I thought the problem was only a missing if-query - and indeed it is missing, but that’s not the main problem. Because with the if-query none of the authors shows, because include_in_browse-setting is set to “false” for every author.
I understand the author settings are retrieved in /lib/pkp/classes/submission/PKPAuthorDAO.inc.php.
There is the line
I changed “1” to “” (empty) to check, if the value is empty and indeed it seemes to be. So I think the value isn’t retrieved at all.
As far as I can tell the query responsible for this is this one:
$result = $this->retrieve(
‘SELECT a.*, ug.show_title
FROM authors a
JOIN user_groups ug ON (a.user_group_id=ug.user_group_id)
WHERE a.submission_id = ? ’ .
($useIncludeInBrowse ? ’ AND a.include_in_browse = ?’ : ‘’)
. ’ ORDER BY seq’,
$params
);
But I don’t understand the Where clause, so I’m stuck finding a solution. Can someone help me?
As far as can see it this setting/option is not considered at all in that search SQL, s. this function ojs/AuthorDAO.inc.php at ojs-stable-3_1_1 · pkp/ojs · GitHub. Thus, no matter what is in the column “include_in_browse” in the DB table authors, it will not be considered.
I’ve forgotten what this option means :-\ – maybe @asmecher could help me?
Else, I did not totally understand what is the problem with the entries in that column in your installation :-\ For me it seems to work: depending on the setting in the submissions authors metadata, the appropriate value (0 or 1) is set in the DB…
The “Include in browse” element distinguishes “major” contributors such as authors from other kinds of contributors. The “include in browse” contributors are listed in the table of contents, but the others are excluded. All contributors should be listed on the article’s detail page.
Regards,
Alec Smecher
Public Knowledge Project Team
Sorry for my late reply, but I was on vacation. Thanks for the answers. I think it would be good to change the wording, something like “include in table of contents”.
Are you sure this determines whether the content is included in Google Scholar? Scholar should use the citation_author meta element, which is present on the monograph’s landing page (when the Google Scholar plugin is enabled). It should list all authors, regardless of the checkbox state.
Regards,
Alec Smecher
Public Knowledge Project Team