Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exclude "default" category from reordering #586

Merged
merged 2 commits into from
Jul 1, 2023

Conversation

schroda
Copy link
Collaborator

@schroda schroda commented Jun 30, 2023

Due to the "default" category having been added to the database, the index based approach to reorder the categories didn't work anymore. In case one tried to move a category to or from pos 1, the default category was selected due to being at index 0

Due to the "default" category having been added to the database, the index based approach to reorder the categories didn't work anymore.
In case one tried to move a category to or from pos 1, the default category was selected due to being at index 0
Makes sure that the ordering is correct.
E.g. "default" category should always be at position 0
@AriaMoradi AriaMoradi merged commit 1a9a0b3 into Suwayomi:master Jul 1, 2023
2 checks passed
@schroda schroda deleted the fix/category_reordering branch July 1, 2023 22:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants