Dress to Impress, a big fancy Neopets customization tool!
Oops, I didn't realize that the MySQL function `SUBSTRING_INDEX` always returns the full string if the split delimiter isn't found. This meant that, for series names like "Regal", we read the main name as "Regal" (correct) and the variant name as "Regal" (incorrect). This caused sort order to be incorrect for some series, e.g., - Prismatic Dawn: Regal - Prismatic Dusk: Regal - Prismatic Mirage: Regal - Regal whereas the main series name is meant to be first, and *does* come first in cases like "Festive" where the main name sorts before any of the variant names! In this change, we update the variant name definition to return an empty string. That way, when there's no variant name and it's just the main series, that one sorts to the top of the series variants. |
||
|---|---|---|
| .devcontainer | ||
| .husky | ||
| app | ||
| bin | ||
| config | ||
| db | ||
| deploy | ||
| lib | ||
| public | ||
| spec | ||
| test | ||
| vendor | ||
| .eslintrc.json | ||
| .gitignore | ||
| .rspec | ||
| .ruby-version | ||
| .solargraph.yml | ||
| .yarnrc.yml | ||
| config.ru | ||
| falcon.rb | ||
| Gemfile | ||
| Gemfile.lock | ||
| LICENSE.md | ||
| package.json | ||
| Procfile.dev | ||
| Rakefile | ||
| README.md | ||
| yarn.lock | ||
Dress to Impress
Oh! We've been revitalizing the Rails app! Fun!
There'll be more to say about it here soon :3