mirror of https://github.com/kiwix/libkiwix.git
+ search filter addtionaly on language ISO code
This commit is contained in:
parent
bc161034c1
commit
49d13f09f1
|
@ -513,7 +513,9 @@ namespace kiwix {
|
|||
ok = false;
|
||||
|
||||
if ((ok == true && !search.empty()) && !(matchRegex(itr->title, "\\Q" + search + "\\E") ||
|
||||
matchRegex(itr->description, "\\Q" + search + "\\E")))
|
||||
matchRegex(itr->description, "\\Q" + search + "\\E") ||
|
||||
matchRegex(itr->language, "\\Q" + search + "\\E")
|
||||
))
|
||||
ok = false;
|
||||
|
||||
if (ok == true) {
|
||||
|
|
Loading…
Reference in New Issue