PuzzleTechHub / myus

A public hassle free puzzlehunt hosting tool
https://www.puzzlehuntmy.us/
MIT License
1 stars 9 forks source link

Moving the Coalesce to the Subquery #36

Closed AlejandroBlanco2001 closed 4 months ago

AlejandroBlanco2001 commented 4 months ago

The previous method of calculating the "score" relied on utilizing Coalesce alongside the result of the Sum() operation. I came across a similar scenario discussed in this Django forum post. However, relocating the Coalesce to encompass the entire Subquery caused the values to drop to 0.

Issue: https://github.com/PuzzleTechHub/myus/issues/28