Closed (fixed)
Project:
Views attach
Version:
6.x-2.2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 Oct 2010 at 08:32 UTC
Updated:
14 Nov 2010 at 20:00 UTC
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
Comment #1
edgarcostanzo commentedHi 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?
Comment #2
etomilin commentedHi edgarcostanzo. You have to enable AJAX in Views Attach display settings, or exposed filters won't be shown.
Comment #3
edgarcostanzo commented:) 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.
Comment #4
Crell commentedPutting 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.