Re: FormBuilder and Datagrid - more questions
| From: | Justin Patrin | Date: | Thu, 24 Nov 2005 21:07:24 +0000 |
| Subject: | Re: FormBuilder and Datagrid - more questions | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-22075@lists.php.net to get a copy of this message | ||
On 11/24/05, Prue <prue@clipmagic.com.au> wrote:
> 1. When using the column sort link in the SDG table header, the FB linked
> fields appear to sort according to the value of the link_id, not the
> 'substituted' description. Is this a bug or am I doing something wrong?
>
No, this is normal. The field for that column is still the id column.
In addition, the fields aren't queried with joins so there's really no
way that SDG would be able to sort on them. You could try to add this
to the DO datasource.
> 2. I have written a small search engine for SDG using GET parameters that
> seems to work well even with paging but have had no luck working out a way
> to search on any FB linked fields (and I've tried everything I could think
> of). Is there such a beast or could you suggest a way for me to do it?
>
I've also done this in DB_DO_FB_Frontend. I also don't search on
linked fields. You'd have to come up with your own way...
--
Justin Patrin