[web2py] Re: list:reference and SQLFORM.grid

2018-06-25 Thread Anthony
The default search widget does not support list:reference fields. You can create a custom search widget via the "search_widget" argument, and also specify a custom search query generator via the "searchable" argument. See the SQLFORM.search_menu and SQLFORM.build_query static methods to see how

[web2py] Re: list:reference and SQLFORM.grid

2018-06-25 Thread Paulo
I have the exact same question and can't find an easy solution in the web :/ Fields of the type list:reference with multiple choices don't show up in the smartgrid search engine. Any easy fix for this? Example in: http://cehum.ilch.uminho.pt/microrrelatos_xaquinnunez (The "Repertorio" field is

[web2py] Re: list:reference with SQLFORM.grid

2015-05-25 Thread Paolo Valleri
This issue has been already fixed https://github.com/web2py/pydal/commit/2172b776b9c41884717902e68900b41c105e0364#diff-114ce07f361177e0669ec9a374ef7d6a Have you updated web2py (and pydal) properly? Paolo On Monday, May 25, 2015 at 7:37:35 AM UTC+2, Mark Graves wrote: I seem to be having the

[web2py] Re: list:reference with SQLFORM.grid

2015-05-25 Thread villas
Have you updated web2py (and pydal) properly? Hi Paolo, Many thanks for looking into this. I updated earlier this weekend with git pull. How would I do it 'properly', do I have to use the recursive every time? Cheers, D -- Resources: - http://web2py.com - http://web2py.com/book

[web2py] Re: list:reference with SQLFORM.grid

2015-05-24 Thread Mark Graves
I seem to be having the same problem. On Sunday, May 24, 2015 at 6:58:26 PM UTC-5, villas wrote: Hi All, Can someone see what the problem is please? db.define_table('tag', Field('name')) db.define_table('test',Field('name'),Field('tags','list:reference tag')) def test():