Skip to content

How can I properly filter on a People picker field? #49

Locked Answered by FranckyC
thijsvgils asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @thijsvgils, if you used the ows_q_USER_<columnName> crawled property for the RefinableString mapping, the following Handlebars expression should do the trick for the 'Check box' filter in a custom template:

data-name="{{#with (split name ' | ')}}{{#if [1]}}{{[1]}}{{else}}{{../name}}{{/if}}{{/with}}"

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Laul0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #27 on March 23, 2022 15:10.