Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
When trying to use apachesolr_autocomplete in combination with a multilingual implementation (inspired from apachesolr_multilingual) we noticed that drupal_alter('apachesolr_query', $query); was called before the query fields were added to the query object.
The impact was that our implementation of hook_apachesolr_query_alter() was not able to alter the query fields on queries coming from apachesolr_autocomplete module. You will find below the patch we used.
Comment | File | Size | Author |
---|---|---|---|
#1 | apachesolr_autocomplete-move_alter_query-1882050-1.patch | 1.14 KB | sdelbosc |
Comments
Comment #1
sdelbosc CreditAttribution: sdelbosc commentedHere is the patch we used.
Comment #2
sdelbosc CreditAttribution: sdelbosc commentedComment #3
janusman CreditAttribution: janusman at Acquia commentedCommitted! Thanks!