Closed ANIALLATOR114 closed 1 month ago
This pull request updates the sorting logic in the statistics service and its usage in the controllers. The primary change involves renaming the sort_stats_by_percentage method to sort_stats_by_value and modifying the sorting key from percentage to value. Corresponding changes were made in the controllers to use the updated method.
Files | Changes |
---|---|
SimplyTransport/controllers/stats.py SimplyTransport/domain/services/statistics_service.py |
Updated sorting logic to use value instead of percentage across multiple functions and methods. |
Summary by Sourcery
Update the statistics sorting method to sort by value instead of percentage across various statistics endpoints.
Enhancements: