Skip to content

Last activity page shows recently updated records as latest activity #9840

@ahukkanen

Description

@ahukkanen

Describe the bug
The last activity is showing records that were recently updated but created a long time ago.

I believe this is not intended behavior as looking at the "last activities" on the home page, it does not list the recently updated records there.

To Reproduce
Steps to reproduce the behavior:

  1. Go to MetaDecidim
  2. Under last activity on the home page, click on "View all"
  3. Scroll down to see proposal "Management the registrations and deregistretion participants of an instance"
  4. Open that proposal
  5. Check when it was made

If you are checking this bug later when it may be hard to find that particular proposal, you can also try editing some old proposal of yours and then see if it appears on the last activity page. In the screenshots I have documented this particular situation where I noticed this bug.

Expected behavior
I would expect the recently updated records not to show up at the top of the last activities page because it can be confusing when you see these as "recent" records when they were actually created way before.

Screenshots
This is what I saw at the top of the last activity page on 2022-09-20:
Last activity page

That proposal shows it was made in 2020:
Proposal page

And the versions page revealed a recent update to that:
Proposal versions page

Home page last activity at the same time:
Home page last activity

Stacktrace
N/A

Extra data (please complete the following information):

  • Device: Laptop
  • Device OS: Ubuntu 22.04
  • Browser: Chrome
  • Decidim Version: 0.27.0.rc2
  • Decidim installation: MetaDecidim

Additional context
Important to note that the recently updated records do not show up on the home page last activity, they only show up when you enter the /last_activities page.

Metadata

Metadata

Assignees

Labels

release: v0.27Issues or PRs that need to be tackled for v0.27

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions