OJS3: keywords are not displaying anywhere

Hi @Tiziano and @digitojs

The keywords and subjects are not saved in the DB table submission_settings in OJS 3. Now they are saved in the DB tables controlled_vocabs, controlled_vocab_entries and controlled_vocab_entry_settings. Thus, you would also need to use another code to get them, something like:

$dao = DAORegistry::getDAO(‘SubmissionKeywordDAO’);
$keywords = $dao->getKeywords($articleId, arrayOfLocales);

$dao = DAORegistry::getDAO(‘SubmissionSubjectDAO’);
$subjects = $dao->getSubjects($articleId, arrayOfLocales);

S. also this issue and fix for the migration of keywords and subjects from 2.4.x to 3.x, that will be in the next OJS release: subject and subjectClass migration · Issue #2501 · pkp/pkp-lib · GitHub

Best,
Bozana

1 Like