Opened 17 years ago

Closed 17 years ago

#5542 closed (invalid)

after update to unicode, search_fields in admin on foreignkey fields do not work

Reported by: kenneth gonsalves <lawgon@…> Owned by: nobody
Component: contrib.admin Version: dev
Severity: Keywords: search_fields ForeignKeyField
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Am using rev 6058. After updating to this revision from a pre-unicode revision, I find that search_fields in admin do not work when the field in question is a foreign key field. There is no error message - the full list is just returned.

Change History (1)

comment:1 by kenneth gonsalves <lawgon@…>, 17 years ago

Resolution: invalid
Status: newclosed

this was a false alarm, the docs make it clear: You can also perform a related lookup on a ForeignKey with the lookup API “follow” notation. I did this and it worked.

Note: See TracTickets for help on using tickets.
Back to Top