Skip to content

Commit

Permalink
Change fields to deal with things in a uniform order.
Browse files Browse the repository at this point in the history
  • Loading branch information
elliottslaughter committed Oct 20, 2023
1 parent 1ad7275 commit b380358
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -111,13 +111,13 @@ struct SearchState {
// Search parameters
query: String,
last_query: String,
last_word_regex: Option<Regex>,
include_collapsed_entries: bool,
whole_word: bool,
last_whole_word: bool,
last_include_collapsed_entries: bool,
search_field: FieldID,
last_search_field: FieldID,
last_whole_word: bool,
last_word_regex: Option<Regex>,
include_collapsed_entries: bool,
last_include_collapsed_entries: bool,
last_view_interval: Option<Interval>,

// Cache of matching items
Expand Down Expand Up @@ -1115,13 +1115,13 @@ impl SearchState {

query: "".to_owned(),
last_query: "".to_owned(),
last_word_regex: None,
include_collapsed_entries: false,
search_field: title_id,
last_search_field: title_id,
whole_word: false,
last_whole_word: false,
last_word_regex: None,
include_collapsed_entries: false,
last_include_collapsed_entries: false,
search_field: title_id,
last_search_field: title_id,
last_view_interval: None,

result_set: BTreeSet::new(),
Expand Down

0 comments on commit b380358

Please sign in to comment.