-
-
Notifications
You must be signed in to change notification settings - Fork 198
Description
Description of the issue 📄
Recently raised on Slack: https://codebar.slack.com/archives/G08CQ5KFD/p1764686373233699
I did a bit of investigating and I think the main cause is that we currently load the list of all codebar members to be available as options in the organiser selection field:
| = f.input :organisers, collection: Member.all, value_method: :id, label_method: :full_name, selected: @event.organisers.map(&:id), input_html: { multiple: true } |
The new workshop form had the same issue but @gnclmorais did a recent fix to limit the selection to just the list of organisers for the relevant chapter.
That was possible because currently we don't allow editing the organisers when first adding the workshop (so at the stage where a chapter hasn't been selected yet) and only allow the organisers to be changed through a follow up edit after the workshop is linked to a chapter. That said, there is also a request to allow editing the organisers for workshops when first adding them so this behaviour could end up being changed 😊
Screenshots 📷
Steps to fix 🛠
To do 📋
- Claim this issue (comment below, or assign yourself if you are part of the codebar org)
- Fork and clone the repository
- Update the relevant files. Follow the steps to fix section in this issue.
- Commit your changes as one commit. Use the title of this issue as your commit message
- Submit a pull request
- Mention this issue in the PR description by including it's number
- Have your pull request reviewed & merged by a codebar team member