Skip to content

Commit

Permalink
feat: ajouter le tri des activités dans l'admin par date de modification
Browse files Browse the repository at this point in the history
  • Loading branch information
madjid-asa committed Dec 10, 2024
1 parent b1275ca commit 1db3999
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lemarche/siaes/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -735,7 +735,7 @@ def logs_display(self, siaeuserrequest=None):

@admin.register(SiaeActivity, site=admin_site)
class SiaeActivityAdmin(admin.ModelAdmin):
list_display = ["id", "siae_with_link", "sector_group", "created_at"]
list_display = ["id", "siae_with_link", "sector_group", "created_at", "updated_at"]
list_filter = ["sectors"]
search_fields = ["id", "siae__id", "siae__name"]
search_help_text = "Cherche sur les champs : ID, Structure (ID, Nom)"
Expand Down

0 comments on commit 1db3999

Please sign in to comment.