Skip to content

Enable multiword search in contacts #97

Merged
merged 1 commit into from
Sep 16, 2020
Merged

Enable multiword search in contacts #97

merged 1 commit into from
Sep 16, 2020

Conversation

donald
Copy link
Member

@donald donald commented Sep 16, 2020

Add a custom search function to list.js [1] [2], so that multiple words are
searched individually and implicitly ANDed. So a search for "Buc Do"
matches "Donald Buczek" but not "Donald Duck".

Based on [3]

Note: search for room number wouldn't work currently, because the room
number is converted into a twiki link already.

Fixes #86

[1] https://listjs.com/
[2] https://github.com/javve/list.js
[3] https://github.com/javve/list.js/pull/682

Add a custom search function to list.js [1] [2], so that multiple words are
searched individually and implicitly ANDed. So a search for "Buc Do"
matches "Donald Buczek" but not "Donald Duck".

Based on [3]

Note: search for room number wouldn't work currently, because the room
number is converted into a twiki link already.

[1] https://listjs.com/
[2] https://github.com/javve/list.js
[3] https://github.com/javve/list.js/pull/682
@donald donald merged commit f60a548 into master Sep 16, 2020
Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Contact list – search does not work with multiple terms
1 participant