Skip to content

Commit

Permalink
Merge pull request #1204 from akto-api-security/hotfix/fix_sort_on_co…
Browse files Browse the repository at this point in the history
…llections_page

Fixed sorting on last traffic seen on inventory page
  • Loading branch information
notshivansh authored Jun 19, 2024
2 parents f7fec20 + ff7fd92 commit 2eb9403
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@ const sortOptions = [
{ label: 'Discovered', value: 'discovered desc', directionLabel: 'Oldest first', sortKey: 'startTs' , columnIndex: 9},
{ label: 'Endpoints', value: 'endpoints asc', directionLabel: 'More', sortKey: 'endpoints', columnIndex: 2 },
{ label: 'Endpoints', value: 'endpoints desc', directionLabel: 'Less', sortKey: 'endpoints' , columnIndex: 2},
{ label: 'Last traffic seen', value: 'detected asc', directionLabel: 'Recent first', sortKey: 'detected', columnIndex: 8 },
{ label: 'Last traffic seen', value: 'detected desc', directionLabel: 'Oldest first', sortKey: 'detected' , columnIndex: 8},
{ label: 'Last traffic seen', value: 'detected asc', directionLabel: 'Recent first', sortKey: 'detectedTimestamp', columnIndex: 8 },
{ label: 'Last traffic seen', value: 'detected desc', directionLabel: 'Oldest first', sortKey: 'detectedTimestamp' , columnIndex: 8},
];


Expand Down

0 comments on commit 2eb9403

Please sign in to comment.