add-ons / add-ons/plugin.video.vrt.nu
Switching to "Sort by Default" doesn't have effect
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 125
- Forks
- 27
- Avg merge
- 3h 46m
- Merged PRs (30d)
- 12
Description
Describe the bug
If you switch your view to sort by Default (SORT_METHOD_UNSORTED) it does not have any effect until you refresh your view. For other sort methods this works fine though.
To Reproduce
Steps to reproduce the behavior:
- Go to any view
- Change the sort order to Default
- The ordering hasn't changed
- Leave the view and go back so it gets redrawn, now to sort order is Default/Unsorted as expected
Expected behavior
If you enable SORT_METHOD_UNSORTED, it should have effect immediately.
Additional context
- Operating system: LibreELEC 9.0.2
- Kodi version: 18.2
- Addon version: 2.1.0
- Using a VPN: yno
- Country you are using the addon from: BE
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 tracing the SORT_METHOD_UNSORTED path used when changing the sort order in any view, and compare it with the other sort methods that update immediately. Reproduce the issue by switching a view to Default, then leave and re-enter it; done means the Default/Unsorted ordering takes effect without refreshing or redrawing the view.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100