date/includes/date_navigation_plugin_style.inc
@ line 61 is the following code,
// bring the node type into the query so we can use it in the theme
$this->view->query->add_field('node', 'type');
This causes problems with my view because my view changes the base table, and I am no longer dealing with the node table.
this line of code tries to add the node.type to my query, causing major issues.
My view is using the Date API to create a view using a date argument and the date_browser is attached to a page view. It is the date browser that is causing issues.
I commented the code out to make it work for me
What is this doing there? can you remove it or change it to work with defining custom view base tables?
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 480258.patch | 393 bytes | arlinsandbulte |
Comments
Comment #1
markDrupal commentedhere is the fix
Comment #2
arlinsandbulte commentedNo idea if the above code change is a good idea or not, I am inclined to believe it is there for a reason.
But here is a patch that others can apply and test.
Comment #3
damienmckennaUnfortunately the D6 version of this module is no longer supported, but we appreciate the time you put into this. If this problem is relevant for D7 too, please reopen the issue. Thanks.