Skip to content

Commit

Permalink
Merge pull request #15 from GRIDAPPSD/admin-client
Browse files Browse the repository at this point in the history
Remove a sort that doesn't need to be there.
  • Loading branch information
craig8 authored Nov 2, 2023
2 parents 9383f0c + 7a3ed22 commit 139b84f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ieee_2030_5/server/meteringfs.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def get(self) -> Response:
sort_by = "timePeriod.start"
if handled := parsed.reading_set_index is not None:
obj = adpt.ListAdapter.get(parsed.last_list(), parsed.reading_set_index)
obj = sorted(obj, key="timePeriod.start")

elif parsed.has_meter_reading_list():
if handled := parsed.has_reading_type():
obj = get_href(request.path)
Expand Down

0 comments on commit 139b84f

Please sign in to comment.