Ok, I see now.
The article @vvucic linked was created using OJS2 as I suspected.
In OJS2 the subject metadata field is stored in submission_settings
table using a setting_name
subject
.
The function in the template I linked above is looking for values from that table and field.
If you save subject metadata in OJS3, the words are saved in controlled_vocab_entry_settings
table. The function that is listing those subject keywords does not look for them from here.
So basically two things should happen:
- The upgrade script for OJS3 should migrate the subject metadata from the
submissions_settings
table to thecontrolled_vocab_entry_settings
table - The function
$article->getLocalizedSubject()
should use the valus fromcontrolled_vocab_entry_settings