Closed (duplicate)
Project:
Nodereference Explorer
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
4 Aug 2009 at 15:29 UTC
Updated:
15 Mar 2010 at 17:42 UTC
When I expose a filter (nodereference), it shows the new correct views but js never gets run, so I see the radio buttons and on second filter I get to the views page.
Comments
Comment #1
tommeir commentedI seem to be having the exact same problem.
Im using the beata3 version and a view with exposed filters to screen for nodes.
applying changes to the exposed filters gives out the view page not inside the node referenced explorer.
I think a patch to nodereference_explorer.views.class.inc is needed
Comment #2
tommeir commentedI found the problem, Disable Ajax within the view solves the problem.
Nodereference explorer uses ajax itself and this double statement seems to be what causes this bug.
Comment #3
rjbrown99 commentedI have another issue with exposed filters, and figured I would reference it here since you are talking about the same thing. I'm on Beta6.
I have a view of items that requires the scroll bar since it is vertically larger than one NRE window. If the view has exposed filters, they correctly appear at the top and the 'focus' for the user is at the top of the new NRE window. If you want to see the rest of the items, you scroll down within the window. This is the behavior in the default view that comes with NRE.
Here's the potential bug - if you remove/hide all of the exposed filters from the user, when opening an NRE window the content loads and then something auto-scrolls you to the bottom of the window, presumably for the submit button. Basically you are now looking at the scrolled-down bottom of this new window instead of starting at the top. This is not desirable. I am guessing there is some type of javascript routine rolling through looking for input boxes, and since there are no more input boxes at the top it keeps going until it hits submit.
If you want to reproduce, just hide/remove the exposed filters from the default view and make sure enough 'items per page' are enabled so your NRE window will require scrolling up/down.
I tried with "Use AJAX" in the view both on and off - same result.
Comment #4
rjbrown99 commentedChanging to active, beta 6. There is no patch here, so "needs review" is a bit misleading.
Comment #5
Shademan commentedWhen i try to expose a filter theres two things that happen:
if i have AJAX = OFF, when i try to filter it reloads the whole page and redirects to myfrontpage?filter=bla
if i have AJAX = ON i can filter, but then i cant select anything anymore -_-
Comment #6
fastangel commentedHi,
The problem is that you can not enter the exposed filter form inside another form. I've solved with the following changes:
Comment #7
gnindl commentedDisabling the jquery_update module works for me
Comment #8
gnindl commentedDuplicate of #67032: project_update_2() changes not performed in project_install(). #6 has strongly inspired the current solution (check out current dev snapshot).