Re: [web2py] SQLFORM.grid() simple search vs complex search

2014-04-23 Thread Richard Vézina
https://github.com/web2py/web2py/pull/428 On Wed, Apr 23, 2014 at 2:24 PM, Richard Vézina wrote: > Yop, you are right! > > I will send a PR on github and see what happen... > > Richard > > > On Wed, Apr 23, 2014 at 2:19 PM, Anthony wrote: > >> Maybe call it advanced_search. >> >> >> On Wednesd

Re: [web2py] SQLFORM.grid() simple search vs complex search

2014-04-23 Thread Richard Vézina
Yop, you are right! I will send a PR on github and see what happen... Richard On Wed, Apr 23, 2014 at 2:19 PM, Anthony wrote: > Maybe call it advanced_search. > > > On Wednesday, April 23, 2014 1:52:59 PM UTC-4, Richard wrote: >> >> This could be a new feature for .grid()... >> >> In gluon/sq

Re: [web2py] SQLFORM.grid() simple search vs complex search

2014-04-23 Thread Anthony
Maybe call it advanced_search. On Wednesday, April 23, 2014 1:52:59 PM UTC-4, Richard wrote: > > This could be a new feature for .grid()... > > In gluon/sqlhtml.py near line 2261... > > This : > > INPUT(_name='keywords', _value=request.vars.keywords, >_id=skeywords_id, >_on

Re: [web2py] SQLFORM.grid() simple search vs complex search

2014-04-23 Thread Richard Vézina
This could be a new feature for .grid()... In gluon/sqlhtml.py near line 2261... This : INPUT(_name='keywords', _value=request.vars.keywords, _id=skeywords_id, _onfocus="jQuery('#%s').change();jQuery('#%s').slideDown();" % (spanel_id, sfields_id)), Could become this : INP

[web2py] SQLFORM.grid() simple search vs complex search

2014-04-23 Thread Richard
Hello, Is there a way to tell SQLFORM.grid to only allow simple search? I mean, not have the query constructor to appear, just the search box where we can search in all the fields? Thanks Richard -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/w