Commit Graph

9 Commits

Author SHA1 Message Date
EJHacks
12deaca1cf fix: resolve "Course data can't be loaded" on 3DS Recommended Courses (#21)
- Use LEFT JOIN instead of INNER JOIN in GetRandomCoursesWithLimit so
  courses without custom ranking entries (unrated) are included in results
- Use COALESCE(ranking.value, 0) to default unrated courses to score 0
- Move object filters from JOIN ON clause to WHERE clause
- Add input length validation to CTRPickUpCourseSearchObject (cap at 25)
- Remove unreachable sql.ErrNoRows check (Query never returns it)
2026-03-12 08:45:21 -04:00
TraceEntertains
b6fa38a8a3 Hotfix 5, postgres doesn't like nex strings in lists 2025-02-23 17:31:28 -05:00
TraceEntertains
f6f600d897 Various list related stylistic improvements 2025-02-20 20:47:20 -05:00
TraceEntertains
33c0090de7 Initial library update (untested) 2025-02-19 22:53:57 -05:00
Jonathan Barrow
7c51aab180
removed unused code and comment from GetCustomRankingsByDataIDs 2023-11-01 09:24:22 -04:00
Jonathan Barrow
7f132403af
migrate to common and update README 2023-11-01 09:20:14 -04:00
Jonathan Barrow
d6c5c3b33d
fixed object period and data type update functions being swapped 2023-10-29 01:01:40 -04:00
Jonathan Barrow
6aad1b475d
fixed datastore_smm_db.GetCustomRankingsByDataIDs not returning all results 2023-10-29 01:00:39 -04:00
Jonathan Barrow
36db27a5e7
remove all the jank, treat everything as originally intended 2023-10-26 21:20:40 -04:00