Website: update software catalog sorting (#36100)

Related to: #35983


Changes:
- Updated the sorting of applications on the /software-catalog page to
be case-insensitive.
This commit is contained in:
Eric 2025-11-20 17:37:46 -06:00 committed by GitHub
parent 626d2c000b
commit f592b9d333
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -23,7 +23,9 @@ module.exports = {
}
let allApps = sails.config.builtStaticContent.appLibrary;
allApps = _.sortBy(allApps, 'name');
allApps = _.sortBy(allApps, (app)=>{
return app.name.toLowerCase();
});
// Respond with view.
return {
allApps,