Skip to content

Institution Filters

Farbod Zamani requested to merge issue-34 into master

This MR fixes #34 (closed)

How it works

  • We use built-in InstituteSelectWidget class to provide the sidebar filter
  • For admins, we pass the filtered list to Stundenzettel::getAdminInstIds method to compile the filtered list accordingly.
  • For Stumis:
    • We enhanced the StundenzettelContract::findByUser_id method to accept dynamic where and orders.
    • We check the requested filtered institutions and pass them in a where clause to StundenzettelContract::findByUser_id method to get the list accordingly.

Merge request reports

Loading