Commit ffd973f9 authored by Nicolas Joyard's avatar Nicolas Joyard
Browse files

Fix recommendation search, closes #153

parent 2994fe34
......@@ -9,7 +9,8 @@ from .models import Recommendation
class RecommendationsAdmin(admin.ModelAdmin):
list_display = ('id', 'title', 'proposal', 'recommendation', 'weight')
search_fields = ('title', 'recommendation', 'proposal')
search_fields = ('title', 'description', 'proposal__title',
form = RecommendationForm, RecommendationsAdmin)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment