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.
Because facet.prefix just attempts to match the indexed (lowercased and otherwise processed) tokens byte-by-byte against against the facet.prefix value given, and the module is not lowercasing any user-entered input before passing it onto facet.prefix, if user-entered string has uppercase characters, it will never return suggestions.
The solution would be to strtolower($keys) the argument sent to facet.prefix.
Comment | File | Size | Author |
---|---|---|---|
#2 | apachesolr_autocomplete-2117093-2.patch | 780 bytes | bblake |
#1 | apachesolr_autocomplete-2117093.patch | 766 bytes | janusman |
Comments
Comment #1
janusman CreditAttribution: janusman commentedAttached patch.
Comment #2
bblake CreditAttribution: bblake commentedAttached patch if you're using this in conjunction with https://drupal.org/node/1444038
Comment #3
janusman CreditAttribution: janusman at Acquia commentedCommitted.