When moving assets with an activity log you can change the group memberships. Is there a reason that selecting a group is using a radio button and not checkboxes? I am still able to add multiple groups but this can’t be done as one action, they have to be selected 1 at at time.
Hmm looks like it’s configured to “Force single” (see screenshot).
I don’t recall there being a reason for that. Maybe it’s the default and I just didn’t uncheck it.
The configuration for that is in /admin/structure/views/view/farm_group_entityreference_view/edit/entityreference_view_widget
And here is that configuration in code, if you want to edit it directly and create a pull request: https://github.com/farmOS/farmOS/blob/a3b76000476a007c7375f593994934f1258c82cf/modules/farm/farm_group/farm_group.views_default.inc#L89
Thanks @mstenta for pointing this out. I was able to make the changes locally through views. I played around a bit last night with the code, but not being familiar I was not able to make the change there. I was also working in my active farmOS so did not want to make too many changes. I will set up a development site to play around in.
Cool! Yea always a good idea to play around on a test site before deploying those changes to your active instance.
I played around a bit last night with the code, but not being familiar I was not able to make the change there.
Sometimes you need to do an additional step to tell Drupal to read the new config from code. This could be as simple as clearing the cache. Or it could require reverting your View in the UI so that it picks up the code changes. You can’t make changes in both the UI and code… it’s one or the other. But if you make changes in code, revert your View (so it picks them up), and then make more changes in the UI, that will work.