Re: Search returns every object

2007-10-27 Thread Joel Hooks
On Oct 27, 10:57 pm, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > On 10/27/07, Joel Hooks <[EMAIL PROTECTED]> wrote: > > But firm is a ForeignKey. I think firm, by itself, without any __fieldname > appended, is causing the whole search attempt to fail. The e=1 in where you > get redirected to is

Re: Search returns every object

2007-10-27 Thread Karen Tracey
On 10/27/07, Joel Hooks <[EMAIL PROTECTED]> wrote: > > > > if you are searching on foreignkey field called city, it will not > > work if you put 'city' in the search field, you have to put 'city__name' > > > > That's cool, that answers a totally different question I was wrestling > with, but I am s

Re: Search returns every object

2007-10-27 Thread Joel Hooks
> if you are searching on foreignkey field called city, it will not > work if you put 'city' in the search field, you have to put 'city__name' > That's cool, that answers a totally different question I was wrestling with, but I am searching the local properties and not returning any results. --

Re: Search returns every object

2007-10-27 Thread Kenneth Gonsalves
On 28-Oct-07, at 4:48 AM, Karen Tracey wrote: > On 10/27/07, Joel Hooks <[EMAIL PROTECTED]> wrote: > It doesn't seem to matter what I put in the search_fields, it always > returns every object in the list. My guess is that I am doing > something incorrectly, but I can't figure it out after much

Re: Search returns every object

2007-10-27 Thread Joel Hooks
> > It's rather hard to speculate without some specifics. search_fields > worksforme just fine. What's your model look like? What are you putting in > search_fields? What do you enter in the search box and what entries are > returned that seem like they should not be there? > > Karen Below is

Re: Search returns every object

2007-10-27 Thread Karen Tracey
On 10/27/07, Joel Hooks <[EMAIL PROTECTED]> wrote: > > It doesn't seem to matter what I put in the search_fields, it always > returns every object in the list. My guess is that I am doing > something incorrectly, but I can't figure it out after much searching. > Would anybody have an idea as to wha

Search returns every object

2007-10-27 Thread Joel Hooks
It doesn't seem to matter what I put in the search_fields, it always returns every object in the list. My guess is that I am doing something incorrectly, but I can't figure it out after much searching. Would anybody have an idea as to what I am doing wrong? --~--~-~--~~~-