mirror of
https://github.com/johrpan/musicus.git
synced 2025-10-26 19:57:25 +01:00
Add queries for ensembles and works
This commit is contained in:
parent
f4a91acffa
commit
84612673c1
2 changed files with 68 additions and 2 deletions
|
|
@ -56,7 +56,7 @@ impl MusicusSearchTag {
|
|||
obj.imp().label.set_label(&match &tag {
|
||||
Tag::Person(person) => person.name_fl(),
|
||||
Tag::Ensemble(ensemble) => ensemble.name.clone(),
|
||||
Tag::Work(work) => format!("{}: {}", &work.composer.name_fl(), &work.title),
|
||||
Tag::Work(work) => work.title.clone(),
|
||||
});
|
||||
|
||||
obj.imp().tag.set(tag).unwrap();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue