exposes limits what you can modify, not what you can search. at this time you cannot change that.
On Dec 12, 12:33 pm, "Wes James" <compte...@gmail.com> wrote: > if i have: > > db.foto.exposes=['title','image'] > > in my models and on a page do > > {{=self.search(db.foto)}} > > should the search field dropdown have foto.id in it? I thought it shouldn't. > > Also, does exposes affect db.foto.represent? Since I just added > foto.id to part of the represent I thought that the exposes my zap > that since it wasn't "exposed" > > -wj --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---