Summary:
I'm currently working on customizing Drupal-6 as a news portal.
In summary, I'm trying to view posts that belong to term 5 AND term 1.
The drupal documentation mentions that this can be achieved through the below taxonomy URL by separating the term ids with a comma (,):
http://drupal-server/taxonomy/term/5,1
(See. Using Vocabularies for Navigation: http://drupal.org/node/22273)
The above is not working as expected and is showing content with "term 5 OR term 1" instead of "term 5 AND term 1".
Any ideas on how to fix this?
Problem Details:
I have defined two vocabularies:
"Content" vocabulary which has the terms:
a. Events
b. News
c. Lectures
"Academy" vocabulary:
a. University A
b. University B
c. University C
Every time an article is posted, it is assigned a term indicating which university does it relate to, and whether it is an Event, News or Lecture.
I'm trying to display the posts that are of type "Lecture" AND "University A".
According to the Drupal documentation, this can be achieved using the URL:
/taxonomy/term/5,1
Assuming "University A" got assigned the term ID 5 and the "Lecture" got assigned term id 1. The documentation mentions that the comma separator (,) works as an AND operator and thus displaying only posts that relate to term 5 'and' term 1.
Unfortunately, this is not working as expected, it is showing me the posts that relate to term 5 OR posts that relate to term 1.
Is this a Drupal bug? Any ideas on how to force an AND? I've even tried replacing the comma with the "+" operator but with no luck (ie. /taxonomy/term/5+1).