Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Changeset [e7a7585af193907b3de66bd224adbd2a403024b5] by Hart Simha

Revision e7a7585af193907b3de66bd224adbd2a403024b5, committed by Hart Simha · April 25th, 2014 @ 03:33 PM

Fixed empty string bug in team addition sql query and added legend

It should be noted that the string issue fix is not ideal.
Instead of converting "" to "NULL" the union of
[-1] and the array of user ids to be selected over is taken before join()-ing. No user ID should ever match -1, so this
works for now
https://github.com/vegantech/sims/commit/e7a7585af193907b3de66bd224...

2 changed files

  • M app/models/school_team.rb
  • M app/views/school_teams/edit.html.erb