[Top][All Lists]
[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: |
Thu, 7 Jul 2005 08:02:03 -0400 |
User-agent: |
Mutt/1.5.9i |
Makes sense. Add a button to the questions page with the ability to set a
'filter me'
field in the members table.
Thanks,
Alfred
On Tue, Jul 05, 2005 at 01:22:19PM +0200, address@hidden wrote:
> 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
>
>
> _______________________________________________
> Erw-devel mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/erw-devel