erw-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Erw-devel] Trying to understand how to incorporate relations into f


From: erw-devel
Subject: Re: [Erw-devel] Trying to understand how to incorporate relations into filters
Date: Tue, 05 Jul 2005 13:22:19 +0200

On Wed, 2005-07-06 at 23:27 -0400, address@hidden wrote:

> I was attempting to use the existence of the relation as a filter. By looking 
> in the defs
> file that gets generated I see a reference to 'responses_questions' that gets 
> created. I
> thought perhaps this might do something (after not quite getting the 
> documentation on the
> subject):

Unfortunately, you can't do that. The best I can suggest you is to add a
a hidden boolean field updated by a post-update hook that contains 0 or
1 depending on the existence of related items. Then you can filter on
that element.
-- 
Ciao,

                                        seba




reply via email to

[Prev in Thread] Current Thread [Next in Thread]