SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit 2eb1f195 authored by George Katsikas's avatar George Katsikas :goat:
Browse files

expand EICRec admin search fields

parent a407a8c0
No related branches found
No related tags found
No related merge requests found
...@@ -397,7 +397,12 @@ class AlternativeRecommendationInline(admin.StackedInline): ...@@ -397,7 +397,12 @@ class AlternativeRecommendationInline(admin.StackedInline):
@admin.register(EICRecommendation) @admin.register(EICRecommendation)
class EICRecommendationAdmin(admin.ModelAdmin): class EICRecommendationAdmin(admin.ModelAdmin):
search_fields = ["submission__title"] search_fields = [
"submission__title",
"submission__preprint__identifier_w_vn_nr",
"formulated_by__profile__last_name",
"formulated_by__profile__first_name",
]
list_filter = ("status",) list_filter = ("status",)
list_display = ( list_display = (
submission_short_title, submission_short_title,
......
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