nhovratov / jobfair

5 stars 4 forks source link

Change filter options based on other filter options selection #33

Open medarob opened 2 months ago

medarob commented 2 months ago

Example:

Filter Region:

Filter Sector:

Jobs Eins: Germany, Sport, Music Zwei: Germany, Sport Drei: England, Movies

I have two filters, for example region and sector and the above 3 jobs with their categories.

If I want to list only the German jobs, I select in the region filter Germany. Then I get the jobs Eins and Zwei. Now, in the sector filter, only the Sport and Music options are necessary because Germany and Movies would result in no job listing.

So, based on the selected filter options, the other filter options have to change so that you will never have the problem to get a empty job list.