Skip to content

Commit

Permalink
No need to have _score type
Browse files Browse the repository at this point in the history
  • Loading branch information
RunarVestmann committed Dec 13, 2024
1 parent 53136f9 commit c8c540c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/cms/src/lib/cms.elasticsearch.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@ export class CmsElasticsearchService {

const size = input.size ?? 10

const sort: ('_score' | sortRule)[] = [
const sort: sortRule[] = [
{
[SortField.RELEASE_DATE]: {
order: SortDirection.DESC,
Expand Down

0 comments on commit c8c540c

Please sign in to comment.