oabsa / election-manager

Wordpress plugin specifically designed to collect election results from a BSA Order of the Arrow election
GNU General Public License v2.0
3 stars 0 forks source link

Need a way to edit the chapter and district lists on the admin page #12

Open justdave opened 10 years ago

justdave commented 10 years ago

The list of chapters available to pick from needs to be able to be edited from the admin page. Instructions should be given to the user that the spelling and punctuation needs to exactly match the way it's set up in OA LodgeMaster.

justdave commented 10 years ago

I just remembered why I initially had this stubbed into the schema as districts instead of chapters... because a lot of Scoutmasters have no idea which OA chapter they're in, but they should all know their district. So we probably need to add a column to the chapters table to indicate which district the chapter is in, and then list both names in the dropdown menu.

I know at least in Nataepu Shohpe we have chapters pretty much aligned with districts, and the only deviation is one district that has two chapters in it (and those two chapters are actually merging soon, which will make it a complete 1:1 match-up). If we're making this future-proof for other lodges to use, we probably can't make any assumptions though. Maybe we need a separate table to list districts and then a mapping table to list which chapter/district combinations are valid.

justdave commented 10 years ago

OK, I implemented this in the schema as separate tables for district and chapter, and each chapter has a reference to the district that contains it. So both the chapter list and the district list will need to be able to be edited, and each chapter will need to be able to be associated with a district.