I will fix this thanks.

On Jul 11, 6:48 am, niknok <[email protected]> wrote:
> This example from the epydoc doesn't work:
>
>         form, results = crud.search(db.test,
>                                queries = ['equals', 'not equal', 'contains'],
>                                query_labels={'equals':'Equals',
>                                              'not equal':'Not equal'},
>                                fields = [db.test.id, db.test.children],
>                                field_labels = 
> {'id':'ID','children':'Children'},
>                                zero='Please choose',
>                                query = (db.test.id > 0)&(db.test.id != 3) )
>
> However, it will work if I change the fields argument to:
>
>         fields = ['id', 'children']
>
> In the book though the latter convention is but I often refer to epydoc
> when I'm offline.
>
> I also couldn't get the field_labels to show up with crud.search as
> above.

Reply via email to