SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit 1ae0f031 authored by Jean-Sébastien Caux's avatar Jean-Sébastien Caux
Browse files

Improve conflicts admin (while waiting for new COI system)

parent 449b8549
No related branches found
No related tags found
No related merge requests found
......@@ -8,7 +8,13 @@ from .models import ConflictOfInterest
class ConflictAdmin(admin.ModelAdmin):
search_fields = ('header', 'profile__last_name', 'related_profile__last_name')
search_fields = (
'header',
'profile__last_name',
'related_profile__last_name',
'related_submissions__title',
'related_submissions__preprint__identifier_w_vn_nr'
)
list_filter = ('status', 'type')
list_display = ('header', 'profile', 'related_profile', 'status', 'type')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment