Filter: change default mode for location to any-of
Since a dive has only one location all-of makes little sense. It *can* make sense if the user enters two substrings (e.g. Tofo and Reef), but generally it won't. Therefore change the default to any-of. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
f78e686b35
commit
5033c02a11
@ -44,7 +44,7 @@ struct FilterData {
|
|||||||
QStringList equipment;
|
QStringList equipment;
|
||||||
Mode tagsMode = Mode::ALL_OF;
|
Mode tagsMode = Mode::ALL_OF;
|
||||||
Mode peopleMode = Mode::ALL_OF;
|
Mode peopleMode = Mode::ALL_OF;
|
||||||
Mode locationMode = Mode::ALL_OF;
|
Mode locationMode = Mode::ANY_OF;
|
||||||
Mode equipmentMode = Mode::ALL_OF;
|
Mode equipmentMode = Mode::ALL_OF;
|
||||||
bool logged = true;
|
bool logged = true;
|
||||||
bool planned = true;
|
bool planned = true;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user