I had tried that, but I can not get a route to work that would automatically redirect me to ?keywords=something
I tried adding it to routes.py but it just ignores everything after the '?'. Any tips for getting a route to work that redirects me to the keyword URL? On Friday, September 5, 2014 7:08:39 AM UTC-5, Oli wrote: > > yes, for example if you have a sqlform.grid you can define the search as > keyword in the URL. > > > > https://SERVER/application/controller/function?keywords=table.field+starts+with+%22A%22 > > > Am Donnerstag, 4. September 2014 23:37:53 UTC+2 schrieb Douglas Campbell: > >> Is it possible to have a default search value in an sqlform.grid? I do >> not see the option in the docs and have not figured out a work around. >> >> What I truly want to do is have the page JUST load the search bar and not >> the database results. Then once a search term is entered it shows the >> results in the sqlform.grid. I was going to just have a default search >> value when the page loads like "Enter_your_search_term_here" that would >> return no results from the database. >> >> Thanks, >> >> >> -- 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.

