Skip to content

Commit

Permalink
chore: remove loop braking after first sort filter
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanMaidurov committed Aug 8, 2024
1 parent 809acb3 commit f51a15f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion product/infrastructure/fake/searchservice.go
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,6 @@ func mapSortOptions(sortConfigs []sortConfig, filters []searchDomain.Filter) []s
for _, filter := range filters {
if sortFiler, ok := filter.(*searchDomain.SortFilter); ok {
lookup[sortFiler.Field()] = true // direction always true for that filter name
break
}
}

Expand Down

0 comments on commit f51a15f

Please sign in to comment.