Opened 17 years ago

Closed 17 years ago

#3545 closed (worksforme)

filter interface doesn't seem to work

Reported by: cory@… Owned by: Adrian Holovaty
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: no UI/UX: no

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 by anonymous, 17 years ago

Cc: goldner@… added

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

comment:2 by anonymous, 17 years ago

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 by Chris Beaven, 17 years ago

Resolution: worksforme
Status: newclosed

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