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" <[email protected]> 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---

