Closed imnasnainaec closed 6 months ago
Needs "bug" label added.
@imnasnainaec note that the two failing e2e tests on Firefox (passes on Chrome) cropped after our npm package upgrade. We haven't figured out why but it's documented I'm not worried and it doesn't have anything to do with your changes.
@imnasnainaec if you are ready for this to be merged, go ahead and mark it as ready for review and I'll take care to get it published.
@megahirt The one thing I've not done is describe how testers can test this change. When I tried to create a project with an audio writing system as the first analysis writing system, it didn't come up as first in Language Forge.
Just merged #1809 into develop, so now I'm merging develop into this PR so that the E2E tests will go green again.
This PR just shipped and I have verified that https://languageforge.org/app/lexicon/5c0ffc0d8b21470bcf09155f sorts properly now with @imnasnainaec 's fix. Thanks!
Fixes issue where words are sorted by audio filenames if the first analysis writing system is an audio one.
Description
The default sort uses the first lexeme form (if no citation form is present) which is a problem if the first analysis writing system is an audio writing system. Then the entries are sorted by the filename, which results in a meaningless sort. This pr prevents '-audio' citation forms and lexeme forms from being used.
Checklist
Testing
Testers, use the following instructions against our staging environment. Post your findings as a comment and include any meaningful screenshots, etc.
Describe how to verify your changes and provide any necessary test data.