Closed (works as designed)
Project:
Views (for Drupal 7)
Version:
6.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Jun 2011 at 07:49 UTC
Updated:
17 Nov 2011 at 16:25 UTC
Hello:
I'm viewing the code of includes/views.inc and i see a difference in the code
$query = db_rewrite_sql($this->build_info['query'], $this->base_table, $this->base_field, array('view' => &$this));
$count_query = db_rewrite_sql($this->build_info['count_query'], $this->base_table, $this->base_field, array('view' => &$this));
$args = $this->build_info['query_args'];
vpr($query);
after calling pre_execute hooks of all modules. I see that it is not in the dev version of the code, so can you explain me how can i modify the query by other module before it rendering?
Thanks in advanced
Xarbot
Comments
Comment #1
dawehnerSo i read the issue more then 2 times, and there is still no idea what you really want to tell us.
There are quite some views hooks you can use.
Comment #2
xarbot commentedHa ha, yes i'm reading the issue another time and i don't understand me, sorry i need a coffee before.
Well the difference are between the code in the dev version and in the alpha version
I think that this code is necessary for using pre_execute hook in our modules.
i expected that i explain better now.
Thanks in advanced
Xarbot
Comment #3
dawehnerSorry, please try to explain it that other people can understand it.
Comment #4
esmerel commented