Skip to content

Local news list sorting #2952

Closed as not planned
Closed as not planned
@PeterNerlich

Description

@PeterNerlich

Is your feature request related to a problem? Please describe.

Sometimes local news (push notifications) that are older than 28 days appear in the message list / seemingly out of order. This is confusing.

Describe the solution you'd like

  • Sort the news by max(last_updated, timestamp) timestamp
  • Set timestamp to max(last_updated, timestamp) timestamp` (TBD)
  • Filter out news where lastUpdate > 28 days

Describe alternatives you've considered

Leave it as is

Additional context

CMS issue: digitalfabrik/integreat-cms#2994

This was discussed in the Integreat CMS team, we concluded that there is nothing in our API that would influence this and it has to be implemented on app side.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions