Skip to content

Commit

Permalink
src: webpage: src: Consider the Message ID when filtering
Browse files Browse the repository at this point in the history
  • Loading branch information
joaoantoniocardoso committed Nov 12, 2024
1 parent 48b3aa5 commit 4d82f9e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/webpage/src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -392,8 +392,9 @@ impl App {
for (message_id, message) in messages {
let name = &message.name;
let name_lower = name.to_lowercase();
let message_matches =
search_query.is_empty() || name_lower.contains(&search_query);
let message_matches = search_query.is_empty()
|| name_lower.contains(&search_query)
|| message_id.to_string().contains(&search_query);

let mut matching_fields = BTreeMap::new();

Expand Down

0 comments on commit 4d82f9e

Please sign in to comment.