I have a page view that displays a list of jobs. I want to be able to filter on SECTOR and REGION. When I add a contextual filter to my jobpage view for sector it works perfectly, however when I add the second one, region, it doesn't display anything.

enter image description here

Clicking on "Diensten" goes to my page view and displays all jobs tagged with "Diensten". However when I click a region, it doesn't display any jobs, only when I make sure the region contextual filter is above the sector one. How can I get this to work?

I use Taxonomy name to ID in my contextual filtering

  • Check this: drupal.stackexchange.com/questions/87277/… , if it helps – Ankit Agrawal Oct 28 '13 at 10:35
  • 1
    You can add two contextual filter in view without any problem. You should remember the order of the arguments and contextual filter be same so that you will get correct data. – Jayendra Kainthola Oct 28 '13 at 10:45
  • I've tried to play around with it but nothing seems to work. I've added my second contextual filter the exact same way as my first one, only I selected a different vocabulary. Do you happen to know what I could be doing wrong? My sector contextual filter works fine but my region filter gives the results back listed in "WHEN THE FILTER VALUE IS NOT IN THE URL" – Yassin Tahtah Oct 28 '13 at 10:49
  • @YassinTahtah, Please share you export view. I hope you that url for the views would be 'www.example.com/[viewspat]/[arg1]/[arg2]' – Jayendra Kainthola Oct 28 '13 at 11:03
  • Not exactly, how should I put it? My sector field outputs a link: jobsview/[name] and so does my region field. What should I do to change it? – Yassin Tahtah Oct 28 '13 at 12:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.