Closed (works as designed)
Project:
Views (for Drupal 7)
Version:
6.x-2.2
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
6 Feb 2009 at 15:44 UTC
Updated:
3 Mar 2010 at 17:56 UTC
How to override Views' SQL query with a custom SQL query?
Comments
Comment #1
merlinofchaos commentedThis is currently not a feature supported by Views.
Comment #2
keef.mac commentedI am very interested in this.
I am looking to display one of 3 CCK fields in a content type depending on a variable entered by a user.
(basic multi-currency feature based on user selection of currency type in profile)
Any hints or directions on how to do this would be greatly appreciated?
Comment #3
sapark commentedhttp://drupal.org/node/409808
Views Modify Query
Comment #4
bg1 commentedHas this situation changed? Or is there another way to accomplish this? I have a view that has a nodereferrer field that can return a number of values and I want to sort those nodereferrer values. I have not been able to find a way to sort these in the queries generated by the Views module, so I am thinking that if I can get Views to use my customer query, then I could solve this very easy.
Thanks in advance for any guidance.