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 a clue something went awry. I'm guessing when the > attempt to search the ForeignKey field causes an error, the admin gives up > and just returns the whole unfiltered list, plus puts e=1 in place of your > query string to indicate something isn't working. So, what happens if you > either remove firm from the search_fields or specify the field in firm you > want to search on? > > Karen
Spot on! Thanks. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---