Dress to Impress, a big fancy Neopets customization tool!
Find a file
Emi Matchu 0e57a76ce6 Fix NC style series sort order in search dropdown
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.
2025-06-22 12:37:28 -07:00
.devcontainer Save last trade activity time onto User 2024-01-19 00:00:46 -08:00
.husky Add RSpec to the commit hook 2024-10-24 15:22:39 -07:00
app Fix NC style series sort order in search dropdown 2025-06-22 12:37:28 -07:00
bin Add bin/deploy:rollback to go back to a previous version 2025-04-27 13:05:44 -07:00
config Hide duplicate timestamps on item trades page 2025-06-22 10:43:48 -07:00
db Add configurable full name field to alt styles 2025-02-15 21:52:47 -08:00
deploy Add bin/deploy:rollback to go back to a previous version 2025-04-27 13:05:44 -07:00
lib Add workarounds for new Neopets.com security rules 2025-03-29 14:14:46 -07:00
public Run rails app:update to update config files 2025-01-12 12:36:18 -08:00
spec Fix NC Mall Styling Studio import 2025-06-22 12:24:27 -07:00
test Add assets to modeling tests, and also uhh some other fixes 2024-10-21 16:46:10 -07:00
vendor Add cached gems for x86_64 2025-04-27 12:02:46 -07:00
.eslintrc.json Set up eslint for wardrobe-2020 2023-11-02 18:11:07 -07:00
.gitignore Improve Solargraph LSP in our spec files 2024-11-19 11:28:36 -08:00
.rspec Move modeling tests to RSpec 2024-10-21 16:03:58 -07:00
.ruby-version Upgrade to Ruby 3.3.7 2025-03-29 13:12:35 -07:00
.solargraph.yml Add Solargraph autocomplete while in development 2024-07-01 15:35:39 -07:00
.yarnrc.yml Upgrade to Yarn 4.0.2 2024-01-14 23:05:53 -08:00
config.ru Upgrade to Rails 6.1.7.4 2023-10-23 19:05:07 -07:00
falcon.rb Remove supervisor from the Falcon process? 2024-01-24 00:20:23 -08:00
Gemfile Upgrade to Ruby 3.3.7 2025-03-29 13:12:35 -07:00
Gemfile.lock Upgrade to Rails 8.0.2 2025-03-29 14:45:51 -07:00
LICENSE.md Update GitHub links to point to our self-hosted OpenNeo Code 2024-02-29 11:24:21 -08:00
package.json Upgrade esbuild to 0.25.3 2025-04-27 12:23:12 -07:00
Procfile.dev Use local-only HTTPS certs for the development neopass-server 2024-03-14 18:01:54 -07:00
Rakefile Uninstall resque 2023-10-23 19:05:04 -07:00
README.md Oops, needs to be a README.md file! 2023-10-25 16:31:41 -07:00
yarn.lock Upgrade esbuild to 0.25.3 2025-04-27 12:23:12 -07:00

Dress to Impress beach logo

Dress to Impress

Oh! We've been revitalizing the Rails app! Fun!

There'll be more to say about it here soon :3