Opened 9 years ago

Closed 8 years ago

#3545 closed (worksforme)

filter interface doesn't seem to work

Reported by: cory@… Owned by: adrian
Component: contrib.admin Version: magic-removal
Severity: Keywords: from_box, SelectFilter2.js, filter_interface
Cc: goldner@… Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

In a foreign key in a model, I have filter_interface=models.HORIZONTAL (I've also tried this with VERTICAL). Unfortunately, it is not working, the filter is not coming up in the admin. The only errors shown are in Firefox's error console, SelectFilter2.js is complaining that there is no from_box. It appears the javascript is loading correctly, but the HTML of the change_form is not being updated. Rather than creating new change_forms for each model that needs this function, I'd prefer to figure out why it's not being created in the first place.

And pointers or suggestions are appreciated.

Change History (3)

comment:1 Changed 9 years ago by anonymous

  • Cc goldner@… added
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset

Ditto (django dev r4556, python2.5, freeBSD)

comment:2 Changed 9 years ago by anonymous

PS Trac is reporting that I changed needs_better_patch, needs_tests and needs_docs when I added myself to the cc, but I didn't touch them (promise!)

comment:3 Changed 8 years ago by SmileyChris

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

Needs more info, because I (and I'm sure lots of other people) have ForeignKeys working with filter_interface.

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