Opened 8 years ago

Closed 8 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: UI/UX:

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

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to invalid
  • Status changed from new to closed

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