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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

janusman’s picture

Status: Active » Needs review
FileSize
766 bytes

Attached patch.

bblake’s picture

Issue summary: View changes
FileSize
780 bytes

Attached patch if you're using this in conjunction with https://drupal.org/node/1444038

janusman’s picture

Status: Needs review » Fixed

Committed.

  • bblake authored 050e9bc on 7.x-1.x
    Issue #2117093 by janusman, bblake: User-entered input needs to be...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.