mirror of
https://github.com/johrpan/musicus.git
synced 2025-10-26 19:57:25 +01:00
Fix work screen search
This commit is contained in:
parent
fa1005f3a9
commit
a1465066dc
1 changed files with 1 additions and 1 deletions
|
|
@ -72,7 +72,7 @@ impl WorkScreen {
|
|||
},
|
||||
clone!(@strong search_entry => move |recording: &RecordingDescription| {
|
||||
let search = search_entry.get_text().to_string().to_lowercase();
|
||||
let text = recording.work.get_title() + &recording.get_performers();
|
||||
let text = recording.work.get_title().to_lowercase() + &recording.get_performers().to_lowercase();
|
||||
search.is_empty() || text.contains(&search)
|
||||
}),
|
||||
&gettext("No recordings found."),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue