@alfresco/aca-content 7.2.0-17436169631 → 7.2.0-17437797093

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2860,7 +2860,7 @@ function extractSearchedWordFromEncodedQuery(encodedQuery) {
2860
2860
  ? userQuery
2861
2861
  .split('AND')
2862
2862
  .map((searchCondition) => {
2863
- const searchTerm = searchCondition.split('"')[1];
2863
+ const searchTerm = searchCondition.includes('"') ? searchCondition.split('"')[1] : searchCondition.trim();
2864
2864
  return searchTerm?.endsWith('*') && searchTerm !== '*' ? searchTerm.slice(0, -1) : searchTerm;
2865
2865
  })
2866
2866
  .join(' ')