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:
+3
-1
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user