Skip to content

Commit

Permalink
STSMACOM-849: Pass sortable columns to MCL.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmytro-Melnyshyn committed Sep 11, 2024
1 parent 676c100 commit 440b53b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/SearchAndSort/SearchAndSort.js
Original file line number Diff line number Diff line change
Expand Up @@ -1313,6 +1313,7 @@ class SearchAndSort extends React.Component {
resultsOnResetMarkedPosition,
resultRowFormatter,
showSortIndicator,
sortableColumns,
hasRowClickHandlers,
hidePageIndices,
pagingCanGoPrevious,
Expand Down Expand Up @@ -1356,6 +1357,7 @@ class SearchAndSort extends React.Component {
formatter={resultsFormatter}
visibleColumns={visibleColumnsProp || visibleColumns}
showSortIndicator={showSortIndicator}
sortableFields={sortableColumns}
sortOrder={sortOrder.replace(/^-/, '').replace(/,.*/, '')}
sortDirection={sortOrder.startsWith('-') ? 'descending' : 'ascending'}
isEmptyMessage={message}
Expand Down

0 comments on commit 440b53b

Please sign in to comment.