archesproject / arches

Arches is a web platform for creating, managing, & visualizing geospatial data. Arches was inspired by the needs of the Cultural Heritage community, particularly the widespread need of organizations to build & manage cultural heritage inventories
GNU Affero General Public License v3.0
210 stars 139 forks source link

Alphabetically sort graphs by name in search Resource Type filter (redone for dev/7.5.x) #11062

Closed SDScandrettKint closed 2 weeks ago

SDScandrettKint commented 2 weeks ago

Types of changes

Description of Change

Adds a function that sorts self.resourceModels in resource-type-filter.js based on the graph name, using the javascript localeCompare method.

Issues Solved

Closes #10646

Checklist

Accessibility Checklist

Developer Guide

Topic Changed Retested
Color contrast
Form fields
Headings
Links
Keyboard
Responsive Design
HTML validation
Screen reader

Ticket Background

Further comments

Replaces https://github.com/archesproject/arches/pull/10647