Closed (fixed)
Project:
Views (for Drupal 7)
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
5 Jul 2009 at 22:05 UTC
Updated:
29 Sep 2009 at 18:10 UTC
Jump to comment: Most recent file
Comments
Comment #1
dawehneryou could also use hook_views_pre_query or something similar to change the $view object to what you need.
but sure if you create a patch its possible to add.
Comment #2
apanag commentedWhere hook_views_pre_query is defined?
Comment #3
apanag commentedHello,
here is the patch adding the above method.
Comment #4
apanag commentedHello,
i know that you are working hard to provide the best results with the views module, but i need that function to add functionality to my module.
Is it possible to review the patch?
Thanks in advanced,
apanag
Comment #5
dawehnerlets first set it to needs review
ok reviewed it, two minor coding style issues, the rest is fine.
Also applies clean on 6.x-3.x
Comment #6
apanag commentedHello dereine,
thanks for reviewing my patch.
apanag
Comment #7
merlinofchaos commentedWorks for me. Committed!
Comment #8
apanag commentedThank you very much.
apanag