Skip to content

Commit

Permalink
Make gui/notes search for any length of search text
Browse files Browse the repository at this point in the history
  • Loading branch information
wiktor-obrebski committed Sep 20, 2024
1 parent aff2ab8 commit 76c70e7
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions gui/notes.lua
Original file line number Diff line number Diff line change
Expand Up @@ -208,9 +208,6 @@ function NotesWindow:loadFilteredNotes(search_phrase, force)
local full_list_loaded = self.curr_search_phrase == ''

search_phrase = search_phrase:lower()
if #search_phrase < 3 then
search_phrase = ''
end

self.curr_search_phrase = search_phrase

Expand Down

0 comments on commit 76c70e7

Please sign in to comment.