Skip to content

Commit

Permalink
[backend] Fix score
Browse files Browse the repository at this point in the history
  • Loading branch information
Kedae authored and aHenryJard committed Sep 9, 2024
1 parent 626f2de commit dd1869b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1124,6 +1124,7 @@ enum RetentionRuleOrdering {
remaining_count
last_execution_date
max_retention
_score
}

enum RetentionRuleScope {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ export const usePaginationLocalStorage = <U>(
} : {
...viewStorage,
searchTerm: value,
sortBy: storedSortBy || '_score',
sortBy: '_score',
orderAsc: false,
};
setValue(newValue);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1067,6 +1067,7 @@ enum RetentionRuleOrdering {
remaining_count
last_execution_date
max_retention
_score
}
enum RetentionRuleScope {
knowledge
Expand Down
1 change: 1 addition & 0 deletions opencti-platform/opencti-graphql/src/generated/graphql.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22277,6 +22277,7 @@ export type RetentionRuleEditMutationsFieldPatchArgs = {
};

export enum RetentionRuleOrdering {
Score = '_score',
LastExecutionDate = 'last_execution_date',
MaxRetention = 'max_retention',
Name = 'name',
Expand Down

0 comments on commit dd1869b

Please sign in to comment.