Open girishdigrajkar opened 2 days ago
Defect
Search functionality
Low
Logic to highlight the query term only works fine if is a single word term. because the addEmTag function in template.js in the search block is comparing strings, then if the query term has more than 1 word, the logic breaks,
No response
All
Search should highlight the query term successfully
Search highlights the query term successfully in case of single word however, fails to highlight query term in case of multiple words.
Single word search query term works fine as highlighted successfully:
Multiple word search query term is not highlighted:
Issue Type
Defect
Summary
Search functionality
Priority
Low
Description
Logic to highlight the query term only works fine if is a single word term. because the addEmTag function in template.js in the search block is comparing strings, then if the query term has more than 1 word, the logic breaks,
Affected Device Classes
No response
Affected Browsers/Devices and Versions
All
Steps to Reproduce
Expected Results
Search should highlight the query term successfully
Actual Results
Search highlights the query term successfully in case of single word however, fails to highlight query term in case of multiple words.
Attachment
Single word search query term works fine as highlighted successfully:
Multiple word search query term is not highlighted: