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: | 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.
Note:
See TracTickets
for help on using tickets.
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.