Match on the whole string, not only the beginning

Created on 10 May 2024, 8 months ago
Updated 28 June 2024, 6 months ago

Problem/Motivation

Currently, this module only matches on the beginning of facet values.
This can be confusing for users and I think it would be more useful to match on the whole string.

Steps to reproduce

Have a facet where one of the values is "Arthur Rimbaud".
Type "rim": the autocomplete suggests nothing.

Proposed resolution

indexOf() could be used to find matches in the whole string.

Feature request
Status

Needs work

Version

2.1

Component

Code

Created by

🇫🇷France prudloff Lille

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024