Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
pelord committed Apr 4, 2023
1 parent 459b009 commit 9de26a1
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 @@ -110,7 +110,7 @@ export class WorkspaceSearchSource extends SearchSource implements TextSearch {
const score = computeTermSimilarity(term.trim(), feature.properties[field]);
results.push({ index, feature, layer: fswi.layer, field, score });
});
})
});
});

results.sort((a, b) => (a.score > b.score) ? -1 : 1);
Expand Down

0 comments on commit 9de26a1

Please sign in to comment.