https://github.com/web2py/web2py/pull/428
On Wed, Apr 23, 2014 at 2:24 PM, Richard Vézina <[email protected] > 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 <[email protected]> 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/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 : >>> >>> INPUT(_name='keywords', _value=request.vars.keywords, >>> _id=skeywords_id, >>> _onfocus="jQuery('#%s').change();jQuery('#%s').slideDown();" >>> % (spanel_id, sfields_id) if complexe_search else '' >>> ), >>> >>> >>> We need to add complexe_search at line 1832 insert : >>> >>> complexe_search=True >>> >>> What do you think?? >>> >>> Richard >>> >>> >>> >>> >>> >>> On Wed, Apr 23, 2014 at 1:26 PM, Richard <[email protected]>wrote: >>> >>>> 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/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 "web2py-users" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to [email protected]. >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> >>> -- >> Resources: >> - http://web2py.com >> - 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 >> "web2py-users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> For more options, visit https://groups.google.com/d/optout. >> > > -- Resources: - http://web2py.com - 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 "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

