The automatic conversion from latex causes formatting errors in the online book. I would look at the same example in the pdf version (labeled page 75).
Try changing this in bg_find: pattern = '+ request.vars.keyword.lower() + ' to this: pattern = '%' + request.vars.keyword.lower() + '%' On Apr 11, 12:07 pm, Francisco Costa <[email protected]> wrote: > Anyone can give me some example on this? > Thank you > > On Apr 8, 7:38 pm, Francisco Costa <[email protected]> wrote: > > > Hello, > > i was trying to implement a search function so I've tried this wiki > > example (http://web2py.com/book/default/section/3/9) > > I can create pages, but I cannot search for them. > > Is the search function wrong? > > Is there others examples of search function? > > -- To unsubscribe, reply using "remove me" as the subject.

