Commit 9c19f338 authored by twanvl's avatar twanvl

Fixed #56: The quick search bar doesn't look in card.notes

Yay for single line changes :)
parent 9ee43ab8
...@@ -59,6 +59,7 @@ bool Card::contains(String const& query) const { ...@@ -59,6 +59,7 @@ bool Card::contains(String const& query) const {
FOR_EACH_CONST(v, data) { FOR_EACH_CONST(v, data) {
if (find_i(v->toString(),query) != String::npos) return true; if (find_i(v->toString(),query) != String::npos) return true;
} }
if (find_i(notes,query) != String::npos) return true;
return false; return false;
} }
bool Card::contains_words(String const& query) const { bool Card::contains_words(String const& query) const {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment