I'm trying to create a view that receives several comment ids as an argument, and prints them out while grabbing other data related to the comment. Views and Views Relationships is the best way to do this -- or so I thought, until I realized that there's no way to get views to receive multiple arguments for CIDs. I was expecting something like the NID, UID, or Taxonomy ID argument form, as they both have the checkbox: "Allow multiple terms per argument."

Is there any other way to do this in Views -- or failing that, Drupal? This seems like a pretty common usage example, simple request, and I'm not sure why it wouldn't be already available.

Thanks!

CommentFileSizeAuthor
#1 827188-argument_numeric.patch395 bytesdawehner
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

dawehner’s picture

Status: Active » Needs review
FileSize
395 bytes

This might be a bug for me.

But it's trivial to solve

suedehead’s picture

Status: Needs review » Reviewed & tested by the community

Holy shmoley, that worked well! I'm not sure why I didn't think of digging into the module -- it's been a busy last few days.

This is probably something that should make it into the next version of views 2, if it isn't already, but I guess everyone's attention is mostly devoted to Views 3?

Thanks a lot, dereine!

dawehner’s picture

This patch will work for every version of views >=2

merlinofchaos’s picture

Status: Reviewed & tested by the community » Fixed

Committed to all branches.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.