Skip to content

Commit

Permalink
Use plaintext search for logistic group filter
Browse files Browse the repository at this point in the history
  • Loading branch information
Sharparam committed Nov 10, 2024
1 parent 7350c94 commit 4320b71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scripts/gui.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1083,7 +1083,7 @@ local function handle_logistic_group_search_text_changed(event)
for _, elem in pairs(state.logistic_group_edit.group_list.children) do
---@type string
local group = elem.tags.group:upper()
local matches = group:find(filter) ~= nil
local matches = group:find(filter, nil, true) ~= nil
elem.visible = matches
end
end
Expand Down

0 comments on commit 4320b71

Please sign in to comment.