Skip to content

Commit

Permalink
[#2351] Add ordering of validations in the admin
Browse files Browse the repository at this point in the history
  • Loading branch information
zzgvh authored and punchagan committed Sep 19, 2016
1 parent e264811 commit 2102180
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions akvo/rsr/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -1486,6 +1486,7 @@ class IatiExportAdmin(admin.ModelAdmin):
class ValidationInline(admin.TabularInline):
model = get_model('rsr', 'ProjectEditorValidation')
fields = ('validation', 'action', )
ordering = ('validation',)

def get_extra(self, request, obj=None, **kwargs):
if obj:
Expand Down

0 comments on commit 2102180

Please sign in to comment.