Closed (fixed)
Project:
Content Construction Kit (CCK)
Version:
6.x-2.x-dev
Component:
Views Integration
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Mar 2009 at 15:36 UTC
Updated:
22 Apr 2009 at 19:30 UTC
Jump to comment: Most recent file
Comments
Comment #1
darren ohPatch works for me on nodereference arguments.
Comment #2
yched commentedCommitted to 6.x-2.x-dev, slightly modified ($this->view->base_table and $this->view->base_field don't work when using a userref field on a View listing nodes)
Thanks !
Comment #3
markus_petrux commentedSorry to bump this, but it seems to me there's a bug. Sorry if I'm wrong. I just looked at the code.
Snippet in method title_query() of the new class content_handler_argument_reference:
Note that the field name in the query is built from the contents of a property of $this, but we're taking
$term->titlein the while loop. I think "title" is correct field name for nodes, but not for users, which should be "name".So maybe that piece could use a field alias in the query.
Now,
$term->titleis aliased to "title", so it works for nodes and users.Comment #4
yched commentedOops, indeed. Fixed, thanks Markus.