Changes between Initial Version and Version 3 of Ticket #16609
- Timestamp:
- Aug 11, 2011, 5:14:22 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #16609
- Property Cc added
-
Ticket #16609 – Description
initial v3 9 9 In my case - this might be relevant or not - I am traversing a ForeignKey first and then an M2M field in that problematic search_fields entry, e.g: 10 10 11 11 {{{ 12 12 search_fields = ['=id', '=fkmodel__m2mmodel__name'] 13 }}} 13 14 14 15 This happens even though the string is not matched by fkmodel__m2mmodel__name, only by id. … … 16 17 This might not be clear, this is what the model relations look like: 17 18 19 {{{ 18 20 (Model SearchedModel) --ForeignKey--> (Model FKModel) --ManyToMany--> (Model M2MModel) 21 }}} 19 22 20 23 M2MModel contains the name field that I have specified in search_fields. 21 22 24 23 25 This might or might not be related to #15559.