Opnieuw toewijzen aan een groep creëert een /u/ link in de @groepsvermelding

It’s a small bug :bug: in the official Assign plugin.

Steps to repro:

  1. Assign a topic to yourself

  2. Click “Unassign…”

  3. Click “Edit assignment…”

  4. Choose a group and click “Edit”

  5. The @group mention from the small action message links to /u/ instead of /g/.

For example:

image

@cherries here links to /u/cherries instead of /g/cherries.

It only happens in reassigns, not in assigns.

2 likes

It looks like it misses api.addGroupPostSmallActionCode("reassigned_group"); here:

Related Discourse code:

2 likes

I added this line on my dev install and it indeed seems to fix the issue :+1:

2 likes

Awesome, would you be able to submit a PR :hugs:

3 likes

Sure!

3 likes

Thanks @Arkshine !!!

This topic was automatically closed after 2 days. New replies are no longer allowed.