Although there is a "in", "contains" and "not in" now in the grid search
operator field, 'list:reference' - fields are not listed in the table
columns dropdown. Will it be possible to employ such operations with the
Am Dienstag, 5. April 2016 03:57:53 UTC+2 schrieb Massimo Di Pierro:
> this should be fixed in trunk, we will release a new version.
> On Sunday, 3 April 2016 02:21:38 UTC-5, Lionel Roubeyrie wrote:
>> Hi all,
>> I just start with this great framework and I have a similar issue. In a
>> table there's two 'list:reference' Fields but none is searchable in the
>> grid view.
>> Is there some special things to do before?
>> Le dimanche 8 novembre 2015 10:53:35 UTC+1, mweissen a écrit :
>>> I have a table like
>>> Field("reffield", "list:reference anothertable"),
>>> The search widget of SQLFORM.grid("mytable", ...) does not show the
>>> In gloun/sqlhtml.py I have found
>>> if fields._db._adapter.dbengine == 'google:datastore':
>>> search_options['string'] = ['=', '!=', '<', '>', '<=', '>=']
>>> search_options['text'] = ['=', '!=', '<', '>', '<=', '>=']
>>> search_options['list:string'] = ['contains']
>>> search_options['list:integer'] = ['contains']
>>> search_options['list:reference'] = ['contains']
>>> Therefore a list:reference field will only be recognized if the table is
>>> stored in a google:datastore.
>>> Is this an intended behaviour?
>>> Regards, Martin
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
You received this message because you are subscribed to the Google Groups
To unsubscribe from this group and stop receiving emails from it, send an email
For more options, visit https://groups.google.com/d/optout.