Merge pull request #581 from HanYoung-uwu/applyLanguageFilterToLocalLibrary

apply language filter to local library
This commit is contained in:
Matthieu Gautier 2021-01-28 14:10:35 +01:00 committed by GitHub
commit af5182eea1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -406,6 +406,8 @@ QStringList ContentManager::getBookIds()
filter.acceptTags(tags);
filter.query(m_searchQuery.toStdString());
if (m_currentLanguage != "*")
filter.lang(m_currentLanguage.toStdString());
if (m_local) {
filter.local(true);