I have Views Attach Display with AJAX enabled. Display is set in two Build Modes - Full Node & Edit Node. In this Display I also have one Exposed Filter.
In Full Node everything works fine - A have my exposed filter and it works fine in AJAX (i.e. without page reloading).

Behavior in Edit Node is strange:
1) Exposed Filter is shown, but AJAX fails: when I try to apply filter it works like if I pressed save button at the end of edit node form - the node is saved instead & page reloads to Full Node.
2) If Display is shown as a Table with AJAX-sortable columns, and if I sort it before applying filter, then filter works fine - It applies in place without redirects or page reloads.

Comments

edgarcostanzo’s picture

Hi etomilin. I'm new to this module and I couldn't manage to make it show the exposed filters at all. Can you tell me how to do that?

etomilin’s picture

Hi edgarcostanzo. You have to enable AJAX in Views Attach display settings, or exposed filters won't be shown.

edgarcostanzo’s picture

:) Ok .. it works. It solves my problem in a sort of way. Unfortunately not completely. The AJAX feature doesn't work well with the print module. Infact the printed page doesn't reflect the sorting and/or filtering state in the page I wanted to printed. But this is not the right place to talk about this, I guess.

Thanks etomilin.

Crell’s picture

Status: Active » Fixed

Putting an exposed filter on a view that's embedded into a node edit form is a recipe for disaster, since you then have a form within a form. That it works with Ajax enabled surprises me to no end, since I'd expect it to fail completely no matter what. :-)

Since it looks like you've found a workaround, I'm marking this as fixed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.