Hi all,
I'm struggling trying to create a new filter group to create complex conditions in my filter criteria.
When I open the filters to rearrange the condition I see the link "Create new filter". Then I click on this link to create a new filter group,but I go back to the view edit page. Checking the link of the "Create new filter" I can see that it is linked to
admin/structure/views/view/buscador_de_anuncios/edit?render=overlay#
Where buscador_de_anuncios is the view I'm trying to modify.
Any help to solve this issue?
I checked the thread issue but aggregation css has not solved the problem.
Thanks!
Javier
Comment | File | Size | Author |
---|---|---|---|
#40 | views-no-button.patch | 1.09 KB | simon_tma |
#16 | views-hide-submit-compatibility-1939426-16.patch | 550 bytes | jtwalters |
Comments
Comment #1
dawehnerJust a fast guess: Have you installed jquery update on your site?
Comment #2
javier.drupal.2012 CreditAttribution: javier.drupal.2012 commentedThanks for this @dawehner.
I did not install the jquery update. I have just installed it, however the behaviour is the same :( I click on create new filter group, whose url is still the same http://myweb.com/admin/structure/views/view/buscador_de_ofertas/edit?ren....
I have cleaned the caches just in case
Any other idea?
Thanks heaps
Javier
Comment #3
dawehnerYeah jquery update might have caused some issues.
Do you see some javascript errors triggered on the page, as they might be the reason for this problem?
Comment #4
javier.drupal.2012 CreditAttribution: javier.drupal.2012 commentedHi @dawehner,
I'm opening the view with chrome console and I can not find any js error mmmmmmm it is odd.....I'm wondering why the url of the link "create new filter group" is pointing to http://localhost:8082/admin/structure/views/view/empleado/edit?render=ov...?
Comment #5
Christopher Riley CreditAttribution: Christopher Riley commentedI am having the same issue with the latest release as well as dev version. I tried it on another site and it worked fine. The only difference that I can possibly see is that one is running php5.4 and the other is 5.3 could this be an issue and if so where do I start trying to figure out where the issue is?
Thanks in advance
Comment #6
Christopher Riley CreditAttribution: Christopher Riley commentedThink I figured out which module was borking things. It appears that if you have the hide_submit module loaded it screws the routine up. As soon as I disabled that module all is well again in Drupal land.
Comment #7
dawehnerNice, hide_submit is a new one.
Comment #8
javier.drupal.2012 CreditAttribution: javier.drupal.2012 commentedThanks for this @cmriley!
I tested disabling hide submit and filter grouping is working again. Should we move this issue to hide_submit project?
Javier
Comment #9
Christopher Riley CreditAttribution: Christopher Riley commentedI already put in a issue requesting that the module not be enabled within views as I can see no logical reason that it should be active within there. In theory we could write a custom module to turn it off using the api however I figured lets see what happens to my request.
Comment #10
gregglesThe issue referenced in #9 is #1957126: Make hide_submit compatible with views (disable within views?)
Comment #11
crealosophy CreditAttribution: crealosophy commentedI don't have hide_submit installed, but I'm working with jQuery_update. The link text is "undefined" and the href is #. When I click, nothing happens, no errors in firebug.
I am working with the bootstrap theme as administration theme, latest Views and CTools (updated because of the display/toggle problem for rewriting results) and jQuery 1.7. Language is Dutch (maybe that could trigger the undefined text?).
Thanks in advance.
Comment #12
crealosophy CreditAttribution: crealosophy commentedProbably should set this to active to get response? If I'm doing something wrong, sorry!
Comment #13
Herr Lehmann CreditAttribution: Herr Lehmann commentedI'm having the same issue. I would like to create a filter group to apply AND/OR critera to my filters, however I don't have the link! The screenshot shows, that there is only a link labled "undefined" pointing to admin/structure/views/view/crm/edit/block_7#
I'm using 7.x-3-7.
Comment #14
HairMachine CreditAttribution: HairMachine commentedI have a possibly related problem occurring - as in #13 the link to 'create a new filter group' is simply not present in the filter rearrangement overlay at first; however the second time I open this overlay it does appear, and I can add a new filter group whilst dragging and dropping as normal.
However, after I submit the changes nothing happens, and no new filter group is created.
I do not have hide_submit installed, but jQuery update is present. There are no JS errors present in the console log.
Also using 7.x-3.7
Comment #15
arancedisicilia CreditAttribution: arancedisicilia commentedHi all.
I had the same exact problem as #11.
I don't know how to completely fix this, but I found a kind of a work-around. Here is what I did:
- I realized that the #views-add-group button was hidden, due to the class "js-hide" of that element
- I found out that that class is toggled by views-admin.js in this part of the code:
- Re-enabling the sql rewrite for that particular display of the view (which was disabled in my case) made the button reappear
I still have problems in doing what I need, but maybe this can help someone find the problem.
Comment #16
jtwalters CreditAttribution: jtwalters commentedIf you do have hide_submit module and you would like to resolve this bug, here's a patch.
Comment #17
drupalninja99 CreditAttribution: drupalninja99 commented+1 on the hide_submit module problem
Comment #18
jgsantos CreditAttribution: jgsantos commentedYes ! +1 on the hide_submit module problem. Just apply the patch and clear cache. Problem solved. Thanks !
Comment #19
firoz2456 CreditAttribution: firoz2456 commentedYes applying Patch #16 and clearing cache works. Thanks a lot
Comment #20
rlmumfordApplying patch #16 solves the problem for me.
Comment #26
cockers CreditAttribution: cockers commentedThanks you jtwalters! Applying patch #16 and clearing the cache works for me too. Can this be committed?
Comment #29
cockers CreditAttribution: cockers commentedDoes anyone have any idea why this is failing? There are a few reports of this working including myself.
Comment #30
jtwalters CreditAttribution: jtwalters commentedComment #31
sadashiv CreditAttribution: sadashiv commentedPatch at #16 worked for me.
Thanks,
Sadashiv.
Comment #32
rahim123 CreditAttribution: rahim123 commentedThanks very much for identifying this incompatibility with hide_submit, I was pulling my hair out on this one. I applied the patch in #16, but it causes an invalid page of raw text output when trying to add a filter group. But it does allow me to hit the back button and then re-open the rearrange screen, where the new filter group has indeed been successfully created.
Comment #33
rahim123 CreditAttribution: rahim123 commentedComment #34
firewaller CreditAttribution: firewaller commentedThis works well for me when using the hide_submit module.
Comment #35
krina.addweb CreditAttribution: krina.addweb at AddWeb Solution Pvt. Ltd. commentedComment #36
rv0 CreditAttribution: rv0 at Coworks.be commentedIf tests break, this needs work.
Also, not sure if this solution is the way to go. Currently I'm using hook_hide_submit_alter on my own site as a clean workaround
Comment #37
ksere CreditAttribution: ksere commentedFor anyone who's dealing with the problems described in #11 - #15, I'd try changing the administration theme. The theme I had set (which was the custom theme for the website we coded based on Foundation 5) was causing conflicts with the js. The moment I switched to Shiny for my admin theme, the problem was fixed.
Hope this helps!
Comment #38
j2r CreditAttribution: j2r at Srijan | A Material+ Company commentedFor me, it didn't work with default core theme as well so I enable the weight changes it will also show the drop-down for moving the filter to another group. That tricks work for me.
Comment #39
mviojan CreditAttribution: mviojan commentedAny solution to this? The link "Create new filter group" does not appear at all. I don't have hide_submit module installed. I do have jQuery update installed and Views is updated to the latest version.
Comment #40
simon_tma CreditAttribution: simon_tma commentedUsing the Bootstrap theme, I've managed to track this down to the form using button tags instead of input tags. I've attached a patch that fixes this by changing the selector to not look for
input
, just the ID or class name.Comment #41
kookoodshw CreditAttribution: kookoodshw as a volunteer commentedSimply configuring the hide_submit module to "Hide the submit buttons" instead of "Disable the submit buttons" worked for me. I went to Configuration -> Content Authoring -> Hide Submit settings to do this. The settings can also be access via the "Configure" link beside the module on the Modules page.