Skip to content

Commit

Permalink
Merge pull request #451 from RenganathanRiver/patch-1
Browse files Browse the repository at this point in the history
Reference error sort is not defined
  • Loading branch information
shariquerik authored Dec 10, 2024
2 parents 0c14dec + afa7285 commit f5df45b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions frontend/src/components/SortBy.vue
Original file line number Diff line number Diff line change
Expand Up @@ -244,8 +244,7 @@ function getSortLabel() {
let label = sortOptions.data?.find(
(option) => option.value === values[0].fieldname,
)?.label
return label || sort.fieldname
return label || values[0].fieldname
}
function setSort(data) {
Expand Down

0 comments on commit f5df45b

Please sign in to comment.