Opened 10 years ago

Closed 10 years ago

#3346 closed (fixed)

Document that Admin search_fields can be from related models

Reported by: Chris Beaven Owned by: Jacob
Component: Documentation Version: master
Severity: Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

See this comment in #3345

search_field = ['midas_number__company_name']

This feature isn't documented as far as I can see.

Attachments (4)

search_fields_doc.diff (671 bytes) - added by Robert Myers <myer0052@…> 10 years ago.
search_fields related lookup documentation attached
search_fields_doc.2.diff (671 bytes) - added by Robert Myers <myer0052@…> 10 years ago.
search_fields related lookup documentation attached
search_fields_doc.3.diff (671 bytes) - added by Robert Myers <myer0052@…> 10 years ago.
search_fields related lookup documentation attached with even less errors :)
search_fields_doc.4.diff (671 bytes) - added by Gary Wilson <gary.wilson@…> 10 years ago.
and with API in uppercase

Download all attachments as: .zip

Change History (9)

comment:1 Changed 10 years ago by Chris Beaven

Needs documentation: unset
Needs tests: unset
Patch needs improvement: unset
Triage Stage: UnreviewedAccepted

Changed 10 years ago by Robert Myers <myer0052@…>

Attachment: search_fields_doc.diff added

search_fields related lookup documentation attached

Changed 10 years ago by Robert Myers <myer0052@…>

Attachment: search_fields_doc.2.diff added

search_fields related lookup documentation attached

comment:2 Changed 10 years ago by Robert Myers <myer0052@…>

Had a typo in the first version.

comment:3 Changed 10 years ago by Esaj

I think "preform" is another typo...

Changed 10 years ago by Robert Myers <myer0052@…>

Attachment: search_fields_doc.3.diff added

search_fields related lookup documentation attached with even less errors :)

Changed 10 years ago by Gary Wilson <gary.wilson@…>

Attachment: search_fields_doc.4.diff added

and with API in uppercase

comment:4 Changed 10 years ago by Gary Wilson <gary.wilson@…>

Has patch: set
Triage Stage: AcceptedReady for checkin

comment:5 Changed 10 years ago by Adrian Holovaty

Resolution: fixed
Status: newclosed

(In [4392]) Fixed #3346 -- Documented that search_fields Admin option can use related models. Thanks for the patch, Robert Myers and Gary Wilson

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