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

dawehner’s picture

So 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.

xarbot’s picture

Ha 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

dawehner’s picture

Status: Active » Postponed (maintainer needs more info)

Sorry, please try to explain it that other people can understand it.

esmerel’s picture

Status: Postponed (maintainer needs more info) » Closed (works as designed)