Code

Opened 5 years ago

Closed 4 years ago

#11748 closed (fixed)

Documentation implies search_fields won't accept ManyToMany related lookups

Reported by: mtrichardson Owned by: nobody
Component: Documentation Version: 1.1
Severity: Keywords: search_fields, manytomanyfield
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

This is just an absurdly minor thing, but the documentation language around search_fields implies that you can only use related lookups with ForeignKeys. It would be more clear and explicit to include '...ForeignKey or ManyToManyField...'.

Attachments (1)

11748.1.diff (675 bytes) - added by mtrichardson 5 years ago.

Download all attachments as: .zip

Change History (3)

Changed 5 years ago by mtrichardson

comment:1 Changed 4 years ago by timo

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Ready for checkin

comment:2 Changed 4 years ago by russellm

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

(In [13550]) Fixed #11748 -- Clarified the ways that search_field can be used. Thanks to Michael Richardson for the patch.

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.