Hi,
I have a sharepoint list called 'Teachers'.
It has a choice type field called 'Subjects' and multiple selection is allowed.
Individual subjects choices are:
(Poetry)
(Music)
(Guitar, Bass and Music theory)
(Guitar design, Guitar building and Luthier)
(Robot dance)
(Nunchucks)
etc etc
So typically this is how the Teacher table looks:
Name(people) || ID(number) || Subjects(choice-multi selection is allowed)
Mikael Akerfeldt || 10456 || (Poetry), (Music), (Guitar, Bass and Music theory)
Buckethead || 10478 || (Guitar, Bass and Music theory), (Music), (Robot dance), (Nunchucks)
Tosin Abasi || 10982 || (Guitar, Bass and Music theory), (Music), (Guitar design, Guitar building and Luthier)
Now I have a gallery where I want to filter the teachers who have the selected multiple subjects on offer.
For example:
If I select (Poetry),(Music) then Mikael Akerfeldt should show up.
If I select (Robot dance), (Nunchucks) then Buckethead should show up.
If I select (Guitar design, Guitar building and Luthier) then Tosin should show up.
If I select (Guitar, Bass and Music theory), (Music) then both Akerfeldt, Tosin and Buckethead should show up.
Previously I had to search with only one subject so filtering the gallery was easy.
Now I need to be able to search with multiple subjects and the gallery should filter data showing the teachers who have all those subjects to offer. It should show no data if there is no match(no one is offering the selected multiple subject choices).
Any suggestions?