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

fix: Update filters after sideloading a ZIM file #1315

Merged
merged 1 commit into from
Jan 5, 2025

Conversation

heropj
Copy link
Contributor

@heropj heropj commented Dec 31, 2024

fix #1255

Changes:

  • Added calls to setCategories() and setLanguages() to be triggered whenever the booksChanged signal is emitted.

Now, whenever booksChanged event is called, eg. when a file is deleted or sideloaded.., the filter list will get updated.

@kelson42
Copy link
Collaborator

@heropj Thank you for your PR, I will check if it works later today.

Copy link
Collaborator

@kelson42 kelson42 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! @veloman-yunkan Please review the code.

@kelson42 kelson42 force-pushed the fix/local-category-filter branch from bccae55 to 294991c Compare January 5, 2025 12:47
@kelson42 kelson42 merged commit 7295e5b into kiwix:main Jan 5, 2025
8 checks passed
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.

Side loading a ZIM file manually does not update the local category filter
3 participants