Opened 12 years ago

Closed 12 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: master
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


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 Changed 12 years ago by kenneth gonsalves <lawgon@…>

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