CoderDojo / community-platform

Zen, the CoderDojo Community Platform!
https://zen.coderdojo.com
MIT License
121 stars 55 forks source link

Add filtering to invites on events #790

Open tangentfairy-zz opened 8 years ago

tangentfairy-zz commented 8 years ago

When you're inviting users from your Dojo to an event, it makes sense for the list of users to be automatically filtered by ticket type. i.e. if you are selecting the drop down beside a parent type of ticket, it will only show the list of parents in the Dojo.

At present the dropdown shows all members of the Dojo.

tangentfairy-zz commented 8 years ago

https://github.com/CoderDojo/cp-zen-platform/pull/778 covers this from a users perspective, but not from a dojo admins perspective.

What we want is for only parents to show in the invite dropdown when you are creating/editing an event and inviting dojo members.

josmas commented 8 years ago

+1 will get to it at some point (soon).

adam-kuhn commented 6 years ago

I'd like to get this sorted for you.

Wardormeur commented 6 years ago

Hi @adam-kuhn , Normally, i wouldn't recommend jumping on this, because this is part of the old front-end and we 'd like not to onboard people on this (https://github.com/CoderDojo/cp-zen-platform/blob/master/README.md). If you still interested, this should be an easy fix if the filtering is done in the front-end. The controller to be modified is the following one : https://github.com/CoderDojo/cp-zen-platform/blob/master/web/public/js/controllers/dojo-event-form-controller.js#L446 Cheers :)