diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2018-10-19 20:50:40 -0400 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-10-23 22:45:30 +0100 |
commit | eedb1ce0ea23b8e01f1dfe28d501d18fe0179006 (patch) | |
tree | 47f9e910385125d8c24bdf45639fe1d29aa5b21c /core/subsurfacestartup.c | |
parent | 2caaf8889bc43acada947223d72bd20f3dc297b3 (diff) | |
download | subsurface-eedb1ce0ea23b8e01f1dfe28d501d18fe0179006.tar.gz |
Mobile/filtering: add two preferences for filtering
With this we can make it configurable if the search should include the notes field
and if the search should be case sensitive or not.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core/subsurfacestartup.c')
-rw-r--r-- | core/subsurfacestartup.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/subsurfacestartup.c b/core/subsurfacestartup.c index 263845671..607090219 100644 --- a/core/subsurfacestartup.c +++ b/core/subsurfacestartup.c @@ -100,6 +100,8 @@ struct preferences default_prefs = { .auto_recalculate_thumbnails = true, .extract_video_thumbnails = true, .extract_video_thumbnails_position = 20, // The first fifth seems like a reasonable place + .filterCaseSensitive = false, + .filterFullTextNotes = true, }; int run_survey; |