[OJS-3.4.0-3] announcements shown from old to new + expiration date has no effect

Describe the issue or problem
After having migrated our journal from OJS-3.2 to OJS-3.4.0-3, we notice 2 issues in the display of announcements:

  1. announcements are sorted from old to new
  2. announcements past their expiration date are still shown

Steps I took leading up to the issue
For example:

  1. Go to ‘Announcements’
  2. See how all announcements are displayed from old to new, and how announcements past their expiration date are still shown in the overview.
  3. Click an expired announcement in the overview
  4. See how this link is redirected to the announcements index page

What application are you using?
OJS 3.4.0-3

Additional information
I would expect following behaviour:

  1. announcements should be displayed from new to old
  2. announcements past their expiration date should be hidden

Possible clues:

  • Could the fact that the content had been migrated from an earlier version have an impact? Yet, I tried by creating a new announcement, with the same result: the latest announcement is displayed at the bottom, and expiration date doesn’t seem to have effect.
  • The fact that the link to an expired announcement redirects to the announcement index page seems to suggest the problem is limited to the announcement index page, where for some reason those expired announcements aren’t being filtered out.



1 Like

Hi @rvdb,

Thanks for your post. I think this might be tied to these identified issues: Announcement feed plugin incorrect sorting · Issue #9226 · pkp/pkp-lib · GitHub

and Date field of announcements is not evaluated correctly · Issue #9308 · pkp/pkp-lib · GitHub

@jonasraoni - I notice that you were working on this - can you verify?

PKP Team


Yeah, I’ve identified this problem, and it’s supposed to be fixed on the next release (probably by a side-issue: Add site-level announcements to OJS · Issue #9253 · pkp/pkp-lib · GitHub).

Jonas Raoni


Thanks for the follow-up and update, looking forward for the next release!