I'm not sure if this is an issue with HS or VFB, but when I enable views filter block for my view, and submit a filter, I get a no content found response, without HS everything works, with out VFB everything works.

This is the url I get when I submit a filter with views multiblock...
http://test.jony.net/trees/all?filter0[hierarchical_select][selects][0]=...

this is what I get with the same filter settings, with out views filter block enabled
http://test.jony.net/trees/all?filter0[]=20&formsingle_token=a44bdf080f8...

CommentFileSizeAuthor
#6 287408.patch602 byteswim leers
#3 287408.patch695 byteswim leers

Comments

wim leers’s picture

Status: Active » Postponed (maintainer needs more info)

The GET url is bad. Can you check if views.js is being included on that page please?

joncup’s picture

<script type="text/javascript" src="/sites/all/modules/hierarchical_select/includes/views.js"></script>
I think thats what your talking about, you can test out the page at http://test.jony.net/trees/all

wim leers’s picture

Title: trouble with views filter block » 'prepare-GET-submit' event not triggered for exposed filters in views_filterblock
Assigned: Unassigned » wim leers
Priority: Normal » Minor
Status: Postponed (maintainer needs more info) » Needs review
StatusFileSize
new695 bytes

That's what I need. A live demo. It leads to a quick solution.

Patch that should fix this is attached.

wim leers’s picture

I accidentally committed this patch together with another one: http://drupal.org/cvs?commit=129882. If it works fine, then you can set the issue to fixed.

joncup’s picture

just tested the new code, still doesnt work, if I search for pine, it should find many nodes, finds none, still long url, contact me if you need any more info or access or anything that will help.

wim leers’s picture

StatusFileSize
new602 bytes

I had a stupid typo. Please try the attached patch.

joncup’s picture

still doesnt seem to be working, i set you up an account and sent you the details via the contact form if you think that will help, let me know if you need anything, of if I can be of any help or whatnot.

wim leers’s picture

Status: Needs review » Fixed

I missed a couple of spots. Committed a fully working version.

joncup’s picture

Status: Fixed » Active

one more things, filters now work, but if you add more than one selection in the drop box, only the first selection is reflected in the filtering

joncup’s picture

not sure how I missed this, each nodes that shows up in the filter results is displayed twice.

wim leers’s picture

Status: Active » Closed (fixed)

That's a separate issue. Probably due to misconfiguration on your side. So please open a separate issue for it.