Problem/Motivation
Commit 710a536 (Use a safer way of finding the exposed form) Added a nicer way to find the exposed form element. However, because this uses more general selection, the use of children() restricts what custom view templates can do.
Proposed resolution
Make the selector more forgiving by using find() instead of children(). As children() only get direct descendants.
Remaining tasks
Use find() to get the actual form too?
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | views-2320661-1.patch | 516 bytes | damiankloip |
| #1 | views-2320661.patch | 514 bytes | damiankloip |
Comments
Comment #1
damiankloip commentedComment #2
damiankloip commentedMaybe this instead.
Comment #3
jkingsnorth commentedHi damiankloip. There's been a lot of discussion about this issue here: #2425099: Exposed form in block with ajax no longer works
I think these issues pretty much refer to the same thing. Unfortunately the patch in #2 does not fix the problems described in the other issue. If it's OK I think we should close this issue, even though it predates the other, and focus efforts there to get this fixed up.