GEWIS / gewisweb

GEWIS Website

Home Page:https://gewis.nl

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fix ordering of `BoardMember`s with multiple functions in the same association year

tomudding opened this issue · comments

Current behaviour

Ordering is based on the decision and does not account for any ordering in the same associatio year. The reason for this is of course that at the time of implementation we did not have any cases (in GEWISDB) where a board member had multiple functions.

$boardInstalls = array_reverse($member->getBoardInstallations()->toArray());

Desired behaviour

Ordering on function within the same meeting; chair -> secretary -> treasurer. Any other function comes after this and remains unsorted.

Steps to reproduce

See current board.

Website version

8b3cbe1

What operating are you seeing the problem on?

No response

What browsers are you seeing the problem on?

No response

Other information

No response