I am creating a series of books, each being associated with a particular meeting, using the agenda as the parent and reports of committees attached as child pages. Using the views module, I have created a list view, filtering by taxonomy term, to show only those particular books.

Unfortunately all pages in the book get listed in that view. I would like just the top-most page to be listed, just as occurs with the standard "Books" menu item. How can I filter out the child pages?

Comments

tm’s picture

i would be interested in how this is solved.

this is a butt-ugly method: determine if there is a word/term(s) in the top-level pages that can be used to pick them out in a filter; you might have to create "reserved words" for titling conventions. at least until a more elegant solution is proposed. if not, i am lost. probably some argument constant.

ddv’s picture

I tried playing with the argument function and broke something. Got a big page full of red SQL error messages. The parent page vanished -- no sign of it anywhere, not even by viewing all content. I had to restore the database from the backup! I don't know if I stumbled on to some sort of bug or if I was just playing with forces I don't understand but it didn't seem to work out very well ;-)

hairylunch’s picture

Was just searching for this myself, and found this comment that has a solution . . .

ddv’s picture

Perfect! Exactly what I was looking for (except I didn't need a block view too, just a table or list view)