Loading CHANGELOG.md +1 −0 Original line number Diff line number Diff line Loading @@ -23,6 +23,7 @@ The format is based on [keep a changelog](http://keepachangelog.com) and this pr - Fix error handling when attempting to write records to a tournament that does not exist. - Fix JS runtime missing fields from leaderboards/tournaments get, list and write functions. - Fix JS runtime ownerId field not working correctly in leaderboard/tournament records list functions. - Fix parameter usage in leaderboard score set operator. ## [3.4.0] - 2021-07-08 ### Added Loading server/core_leaderboard.go +1 −1 Original line number Diff line number Diff line Loading @@ -419,7 +419,7 @@ func LeaderboardRecordWrite(ctx context.Context, logger *zap.Logger, db *sql.DB, subscoreAbs = 0 case LeaderboardOperatorSet: opSQL = "score = $4, subscore = $5" filterSQL = " WHERE leaderboard_record.score <> $5 OR leaderboard_record.subscore <> $5" filterSQL = " WHERE leaderboard_record.score <> $4 OR leaderboard_record.subscore <> $5" scoreDelta = score subscoreDelta = subscore scoreAbs = score Loading Loading
CHANGELOG.md +1 −0 Original line number Diff line number Diff line Loading @@ -23,6 +23,7 @@ The format is based on [keep a changelog](http://keepachangelog.com) and this pr - Fix error handling when attempting to write records to a tournament that does not exist. - Fix JS runtime missing fields from leaderboards/tournaments get, list and write functions. - Fix JS runtime ownerId field not working correctly in leaderboard/tournament records list functions. - Fix parameter usage in leaderboard score set operator. ## [3.4.0] - 2021-07-08 ### Added Loading
server/core_leaderboard.go +1 −1 Original line number Diff line number Diff line Loading @@ -419,7 +419,7 @@ func LeaderboardRecordWrite(ctx context.Context, logger *zap.Logger, db *sql.DB, subscoreAbs = 0 case LeaderboardOperatorSet: opSQL = "score = $4, subscore = $5" filterSQL = " WHERE leaderboard_record.score <> $5 OR leaderboard_record.subscore <> $5" filterSQL = " WHERE leaderboard_record.score <> $4 OR leaderboard_record.subscore <> $5" scoreDelta = score subscoreDelta = subscore scoreAbs = score Loading