Skip to content

Commit

Permalink
Fix api of useSort
Browse files Browse the repository at this point in the history
  • Loading branch information
tiberiuichim committed Jan 24, 2024
1 parent 5482e75 commit fea7cd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion searchlib/lib/hocs/useSort.js
Expand Up @@ -4,7 +4,7 @@ import { useAppConfig } from '@eeacms/search/lib/hocs';

const useSort = (
values,
// criterias,
_criterias_unused,
{ defaultSortOn, defaultSortOrder },
field = null, // in case of custom order, we get the facetValues order from field's configuration
) => {
Expand Down

0 comments on commit fea7cd2

Please sign in to comment.