Code

Opened 7 years ago

Closed 7 years ago

#3346 closed (fixed)

Document that Admin search_fields can be from related models

Reported by: SmileyChris 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@…> 7 years ago.
search_fields related lookup documentation attached
search_fields_doc.2.diff (671 bytes) - added by Robert Myers <myer0052@…> 7 years ago.
search_fields related lookup documentation attached
search_fields_doc.3.diff (671 bytes) - added by Robert Myers <myer0052@…> 7 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@…> 7 years ago.
and with API in uppercase

Download all attachments as: .zip

Change History (9)

comment:1 Changed 7 years ago by SmileyChris

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted

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

search_fields related lookup documentation attached

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

search_fields related lookup documentation attached

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

Had a typo in the first version.

comment:3 Changed 7 years ago by Esaj

I think "preform" is another typo...

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

search_fields related lookup documentation attached with even less errors :)

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

and with API in uppercase

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

  • Has patch set
  • Triage Stage changed from Accepted to Ready for checkin

comment:5 Changed 7 years ago by adrian

  • Resolution set to fixed
  • Status changed from new to closed

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

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.