Node imagens do exactly what I needed. I have a view for my CCK content type that filter by several fields. What a nice surprise, node images expose a "Node images: Has node images" field which can be filtered by views, which is exactly what I was looking for.

However, it seems that the filter is not working. I exposed the filter, and no matter if I select "Yes" or "No" to the "has node images" option: no nodes are displayed.

Is this a bug? Did I miss something?

Many thanks.

Comments

mariano.barcia’s picture

I've added a third parameter to the $query->add_field in node_images.views.inc and now it's working

function _node_images_query_handler_display($field, $fieldinfo, &$query) {
$query->add_field('nid', 'node', 'node_nid');
}

HTH

mariano.barcia’s picture

Status: Active » Closed (duplicate)
ceo3141’s picture

Version: 4.7.x-2.x-dev » 5.x-1.x-dev

I am having the same problem in Views w Drupal 5. I created a View of all of my nodes in a table view, included a column for node type (page, Event, etc), and included an Exposed Filter to filter by node type. You can click on the node type in the filter & hit Submit, but nothing happens -- all of the node types remain, the View doesn't filter for what you have selected.

Is this supposed to be fixed in the latest version of Views for Drupal 5, 5.x-1.6?
Thank you.

bomarmonk’s picture

Moving my post to the appropriate project :)