Skip to content

Commit

Permalink
improve ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
madjid-asa committed Dec 28, 2023
1 parent 8571584 commit 026c86e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lemarche/siaes/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -490,8 +490,9 @@ def with_employees_stats(self):
)

def order_by_super_siaes(self):
# need to be better specified in the future
return self.order_by("-tender_detail_display_count", "-tender_detail_display_count", "-completion_rate")
return self.order_by(
"-super_badge", "-tender_detail_contact_click_count", "-tender_detail_display_count", "-completion_rate"
)


class Siae(models.Model):
Expand Down

0 comments on commit 026c86e

Please sign in to comment.