2
0
Эх сурвалжийг харах

allow filtering by archiveresult status

Nick Sweeting 4 жил өмнө
parent
commit
c98053a8ca

+ 1 - 1
archivebox/core/admin.py

@@ -57,7 +57,7 @@ class SnapshotAdmin(SearchResultsAdminMixin, admin.ModelAdmin):
     readonly_fields = ('uuid', 'num_outputs', 'is_archived', 'url_hash', 'added', 'updated')
     search_fields = ('id', 'url', 'timestamp', 'title', 'tags__name')
     fields = ('timestamp', 'url', 'title', 'tags', *readonly_fields)
-    list_filter = ('added', 'updated', 'tags')
+    list_filter = ('added', 'updated', 'tags', 'archiveresult__status')
     ordering = ['-added']
     actions = ['delete_snapshots', 'overwrite_snapshots', 'update_snapshots', 'update_titles', 'verify_snapshots', 'add_tag', 'remove_tag']
     autocomplete_fields = ['tags']