From f23fd19e992d1965c677eb3648eab9a34ccbd5e6 Mon Sep 17 00:00:00 2001
From: "Albert St. Aubin" <astaubin@edx.org>
Date: Thu, 21 Jun 2018 08:54:07 -0400
Subject: [PATCH] Added search fields to the entitlements admin panel

---
 common/djangoapps/entitlements/admin.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/common/djangoapps/entitlements/admin.py b/common/djangoapps/entitlements/admin.py
index db853806e1f..1f567740dd7 100644
--- a/common/djangoapps/entitlements/admin.py
+++ b/common/djangoapps/entitlements/admin.py
@@ -21,6 +21,7 @@ class CourseEntitlementAdmin(admin.ModelAdmin):
                     'enrollment_course_run',
                     'order_number')
     raw_id_fields = ('enrollment_course_run', 'user',)
+    search_fields = ('user__username', 'uuid', 'course_uuid', 'mode', 'order_number')
 
 
 class CourseEntitlementSupportDetailForm(forms.ModelForm):
-- 
GitLab