A few bug fixes and code optimization.

  • BUG: In the schedule list view, if you choose filtering by location, the shifts for all locations were still displayed as if there were no filter applied.
  • BUG: When creating a new shift, if you selected one or several employees to assign right now, but there was a validation error (no location selected, or the start and end times were incorrect), it showed a database error.