OpenSlides / OpenSlides/openslides-client
Fix sorting of motions in motion blocks when different standard sorting
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 35
- Forks
- 52
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 52
Description
Describe the bug
When the default sorting of motions is changed to call list in > settings > motions > numbering and sorting, the motions are sorted by title in motion blocks. This is not helpful in any case.
How to Reproduce
- create a motion block with several motions (make sure motions in order of number are not also sorted alphabetically, in doubt use our test dataset)
- change the default sorting of motions to call list
- navigate to the motion block -> they are sorted alphabetically by title
Expected behavior
The motions are optimally ordered in the same order they are in the call list.
Additional context
If the expected behaviour is very hard to implement, alternatively the sorting within a motion block should be by numbers. Please contact me about uncertainties.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue through Settings > Motions > numbering and sorting, then open a motion block with motions whose numbers and titles sort differently. Trace how the motion block determines its ordering and compare it with the configured call-list order. Done means motion blocks follow the selected call-list order, or consistently use motion numbers as the fallback.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100