Re: [development] views: custom conditions using fields from multiple tables

2011-07-08 Thread Earnie Boyd
Ken Rickard wrote: > I never thought of this as a core list. > You, me, a few others. See http://drupal.org/node/1163962 for an issue to resolve the description problem. -- Earnie -- http://progw.com -- http://www.for-my-kids.com

Re: [development] views: custom conditions using fields from multiple tables

2011-07-08 Thread Ken Rickard
I never thought of this as a core list. On Fri, Jul 8, 2011 at 2:31 PM, Earnie Boyd wrote: > Ken Rickard wrote: >> I think this is a fair development question, since the answer is "you >> have to write code to do this". >> > > The question is "is this Drupal core development", yes, then it is on

Re: [development] views: custom conditions using fields from multiple tables

2011-07-08 Thread Earnie Boyd
Ken Rickard wrote: > I think this is a fair development question, since the answer is "you > have to write code to do this". > The question is "is this Drupal core development", yes, then it is on topic for this list, no, then use the support list cause it is off topic for this list. This list d

Re: [development] views: custom conditions using fields from multiple tables

2011-07-08 Thread Earl Miles
On 7/7/2011 11:14 AM, Roman Zimmermann wrote: > hi, > > for a site specific view I'd need to implement a view which's query > has a condition that spans multiple tables. It'll look something like: > table1.field = 'value' OR table2.field = 'other value' > > Is this possible using D6/views2 ? > Am

Re: [development] views: custom conditions using fields from multiple tables

2011-07-08 Thread Ken Rickard
Not *custom field handlers*, custom *filter* handlers. On Fri, Jul 8, 2011 at 1:24 PM, Ken Rickard wrote: > I think this is a fair development question, since the answer is "you > have to write code to do this". > > You can do variable query handlers in custom field handlers -- that's > what I us

Re: [development] views: custom conditions using fields from multiple tables

2011-07-08 Thread Ken Rickard
I think this is a fair development question, since the answer is "you have to write code to do this". You can do variable query handlers in custom field handlers -- that's what I usually do -- but it does require writing code. Essentially, your query() method can be responsive to input or conditi

Re: [development] views: custom conditions using fields from multiple tables

2011-07-07 Thread Ms. Nancy Wichmann
This should be in the Support list.   I believe using the "Relationship" stuff would allow this, but you may have to build a module to provide that information. In which case, doing your own query is probably faster. Nancy   Injustice anywhere is a threat to justice everywhere. -- Dr. Martin L.

[development] views: custom conditions using fields from multiple tables

2011-07-07 Thread Roman Zimmermann
hi, for a site specific view I'd need to implement a view which's query has a condition that spans multiple tables. It'll look something like: table1.field = 'value' OR table2.field = 'other value' Is this possible using D6/views2 ? Am I better off just using a custom query? thanks in advance fo