Viewing mentions at group's activity page is broken

When you click on Mentions at a group’s activity page like g/community-moderators/activity, it doesn’t work:

Cannot read properties of undefined (reading 'map') at Group.findPosts

The experience is worse when you try to open the mentions in a new tab.

6 Likes

I can repro this too.

3 Likes

Thanks for the report, we’ll prioritise fixing this. :+1:t2:

3 Likes

Having a quick look :eyes:

2 Likes

It looks like a side effect of

The output format in the group’s controller changed for /posts, but not for /mentions.

3 Likes

Thanks @Moin for the report :+1:
Thanks @Arkshine for the link to the related change :+1:

This will be fixed by :point_down:

5 Likes

I have just tried this, and it appears that only the first 20 results are loaded. When scrolling further, the same 20 results seem to be repeated.

3 Likes

Nice catch @Moin :clap:

The client is using before instead of before_post_id to do the infinite loading :hourglass_flowing_sand:

This will be fixed by :point_down:

4 Likes

This topic was automatically closed after 21 hours. New replies are no longer allowed.