Skip to content

Commit

Permalink
default sort in search is now by date
Browse files Browse the repository at this point in the history
  • Loading branch information
JeromeBu committed Sep 23, 2024
1 parent a94b602 commit 3838d24
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions front/src/app/pages/search/SearchPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,9 @@ export const SearchPage = ({
const searchResultsWrapper = useRef<ElementRef<"div">>(null);
const innerSearchResultWrapper = useRef<ElementRef<"div">>(null);
const acquisitionParams = useGetAcquisitionParams();
const { enableSearchByScore } = useAppSelector(
featureFlagSelectors.featureFlagState,
);
const initialValues: SearchPageParams = {
place: "",
sortedBy: enableSearchByScore ? "score" : "date",
sortedBy: "date",
appellations: undefined,
distanceKm: undefined,
latitude: undefined,
Expand Down

0 comments on commit 3838d24

Please sign in to comment.