Sort yield list by date descending

This commit is contained in:
2023-06-25 22:17:27 +03:00
parent 4abef6f2ad
commit 99ccfb81d7
2 changed files with 5 additions and 1 deletions

View File

@@ -41,6 +41,6 @@ defmodule OsuuspuutarhaWeb.YieldLive.Index do
end
defp list_yields do
Harvest.list_yields()
Harvest.get_sorted_by_date()
end
end