Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
pelord committed Apr 4, 2023
1 parent 9de26a1 commit 48d1bd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/geo/src/lib/search/shared/sources/workspace.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ export class WorkspaceSearchSource extends SearchSource implements TextSearch {
const field = foundIn.field;
foundIn.result.map(index => {
const feature = fswi.index.get(index);
const score = computeTermSimilarity(term.trim(), feature.properties[field]);
const score = computeTermSimilarity(termToUse.trim(), feature.properties[field]);
results.push({ index, feature, layer: fswi.layer, field, score });
});
});
Expand Down

0 comments on commit 48d1bd6

Please sign in to comment.