From b649f7b5225903ed4350333e906f524f769adc8e Mon Sep 17 00:00:00 2001 From: Ty Date: Tue, 12 Nov 2024 11:54:16 -0500 Subject: [PATCH] reverse campaign order lists. --- lib/bike_brigade_web/live/campaign_live/index.ex | 1 - lib/bike_brigade_web/live/campaign_signup_live/index.ex | 1 - 2 files changed, 2 deletions(-) diff --git a/lib/bike_brigade_web/live/campaign_live/index.ex b/lib/bike_brigade_web/live/campaign_live/index.ex index 79d7f127..505af9cf 100644 --- a/lib/bike_brigade_web/live/campaign_live/index.ex +++ b/lib/bike_brigade_web/live/campaign_live/index.ex @@ -84,7 +84,6 @@ defmodule BikeBrigadeWeb.CampaignLive.Index do ) |> Enum.reverse() |> Utils.ordered_group_by(&LocalizedDateTime.to_date(&1.delivery_start)) - |> Enum.reverse() end attr :campaign, Campaign, required: true diff --git a/lib/bike_brigade_web/live/campaign_signup_live/index.ex b/lib/bike_brigade_web/live/campaign_signup_live/index.ex index 84f96cd0..05b243e8 100644 --- a/lib/bike_brigade_web/live/campaign_signup_live/index.ex +++ b/lib/bike_brigade_web/live/campaign_signup_live/index.ex @@ -119,7 +119,6 @@ defmodule BikeBrigadeWeb.CampaignSignupLive.Index do ) |> Enum.reverse() |> Utils.ordered_group_by(&LocalizedDateTime.to_date(&1.delivery_start)) - |> Enum.reverse() end defp fetch_campaigns({:campaign_ids, campaign_ids}) do