Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Return newest diary entries first by default

Roland Geider5047425bbbb5
diff --git a/wger/nutrition/models/log.py b/wger/nutrition/models/log.py
index 580b6bb77..42ef10ba8 100644
--- a/wger/nutrition/models/log.py
+++ b/wger/nutrition/models/log.py
@@ -41,7 +41,7 @@ class LogItem(BaseMealItem, models.Model):
# Metaclass to set some other properties
class Meta:
ordering = [
- "datetime",
+ "-datetime",
]
plan = models.ForeignKey(