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.
Language path prefix is not prepended correctly in the /search_api_ajax requests. I'm working on a patch.
Comment | File | Size | Author |
---|---|---|---|
#5 | 2497129-search_api_ajax_path_prefix_support-5.patch | 3.37 KB | judapriest |
Comments
Comment #1
juhaniemi CreditAttribution: juhaniemi at Wunder commentedEarly patch with limited support for language path prefixes. Works for the most parts, but the BBQ url goes crazy and appends faulty parameters infinitely when clicking on facets. I need to continue on fixing them later.
Comment #2
juhaniemi CreditAttribution: juhaniemi at Wunder commentedThis patch applies on top of #2469225 https://www.drupal.org/node/2469225#comment-9974749
Comment #3
juhaniemi CreditAttribution: juhaniemi at Wunder commentedThis patch fixes invalid ajax request urls and bbq hashing.
The real question would be that should Drupal.settings be read again from the AJAX responses, instead of this slight hack. search_api_ajax_path is changed after loading the page/facets with ajax, but the updated value does not become available to search_api_ajax.js.
Comment #4
judapriestHere a patch reroll
Comment #5
judapriestCrap I created #4 from my site root, so here the patch rerolled to work relative to a module.