diff --git a/src/v2/Apps/Artist/Routes/Overview/Components/ArtistArtworkFilter.tsx b/src/v2/Apps/Artist/Routes/Overview/Components/ArtistArtworkFilter.tsx index 1e1c6cbfb5d..161000c5342 100644 --- a/src/v2/Apps/Artist/Routes/Overview/Components/ArtistArtworkFilter.tsx +++ b/src/v2/Apps/Artist/Routes/Overview/Components/ArtistArtworkFilter.tsx @@ -30,6 +30,8 @@ const ArtistArtworkFilter: React.FC = props => { filters={match && match.location.query} sortOptions={[ { value: "-decayed_merch", text: "Default" }, + { value: "-has_price,-prices", text: "Price (desc.)" }, + { value: "-has_price,prices", text: "Price (asc.)" }, { value: "-partner_updated_at", text: "Recently updated" }, { value: "-published_at", text: "Recently added" }, { value: "-year", text: "Artwork year (desc.)" }, diff --git a/src/v2/Apps/Artist/Routes/Works/__tests__/Works.jest.tsx b/src/v2/Apps/Artist/Routes/Works/__tests__/Works.jest.tsx index ec8c0c16d3b..be688cccb88 100644 --- a/src/v2/Apps/Artist/Routes/Works/__tests__/Works.jest.tsx +++ b/src/v2/Apps/Artist/Routes/Works/__tests__/Works.jest.tsx @@ -60,6 +60,22 @@ describe("Works Route", () => { expect(wrapper.html()).toContain("Mock ArtistRecommendations") expect(wrapper.html()).toContain("Mock ArtistCollectionRail") }) + + it("includes the correct sort options", () => { + const sortOptions = wrapper + .find("div[title='Sort'] select option") + .map(el => el.text()) + + expect(sortOptions).toEqual([ + "Default", + "Price (desc.)", + "Price (asc.)", + "Recently updated", + "Recently added", + "Artwork year (desc.)", + "Artwork year (asc.)", + ]) + }) }) describe("Artist Recommendations", () => {