Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When this module is enabled you no longer have the ability to within the filters area setup grouped filters. When you try to do it you are dropped back to the views interface instead of remaining within the popup window. I don't really see the logic of having this module active with the views module is there a way that it can be disabled while in the views module?
Thanks in advance.
Comments
Comment #1
gregglesUpdating title. I haven't noticed this problem, personally.
Comment #2
Christopher Riley CreditAttribution: Christopher Riley commentedThis took care of the issue for myself and at least one other as discussed at https://drupal.org/node/1939426
Comment #3
gregglesYeah, I'm not debating whether it happens or not (I'm sure it does) - just saying it doesn't affect me so I'm not likely to work on it myself.
Comment #4
gregglesI wonder if we should just not include the javascript inside admin/structure/views/*
Comment #5
Anonymous (not verified) CreditAttribution: Anonymous commentedThe same problem & solution for me. Included an if check inside
function hide_submit_form_alter
, as suggested by greggles.Comment #6
gregglesThe solution in #5 works, but is a bit brittle.
I wonder how we could make this a bit more generic, perhaps using the block visibility code and letting people enter the paths where they don't want the module to show up?
Comment #7
mogwaay CreditAttribution: mogwaay commentedI've fixed the problem here by utilizing the hook_hide_submit_alter hook:
This way I don't need to hack or patch the module. This hook is good to allow sites to specify certain pages/forms that shouldn't use the hide_submit functionality or change it in some way on an instance by instance basis.
Obviously would be cool to provide a include/exclude from paths style configuration for non-coders to control this more, but this is still quite standard.
Comment #8
gregglesI think the "right" way to solve this is in #1979522: Disable selected form from Hide Submit processing.
Thanks to @mogwaay and @rhclayto for providing workarounds for now.