OpenSlides / OpenSlides/openslides-client

Fix sorting of motions in motion blocks when different standard sorting

Open
#6,165 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
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

  1. 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)
  2. change the default sorting of motions to call list
  3. 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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.