Skip to content

Commit

Permalink
merge highlightfields in the preview (#4201)
Browse files Browse the repository at this point in the history
  • Loading branch information
devketanpro authored and petrjasek committed Feb 27, 2023
1 parent 217ca28 commit 467251d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/apps/search/directives/SearchResults.ts
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ export function SearchResults(
criteria.params = {'preview_id': preview_id};
return api.query(getProvider(criteria), criteria).then((item_) => {
if ('_items' in item_ && item_._items[0] !== undefined) {
processPreview(item_._items[0]);
processPreview(search.mergeHighlightFields(item_._items[0]));
} else {
processPreview(item);
}
Expand Down

0 comments on commit 467251d

Please sign in to comment.