diff --git a/license_manager/apps/subscriptions/admin.py b/license_manager/apps/subscriptions/admin.py index 7320fe0d..315d8ea6 100644 --- a/license_manager/apps/subscriptions/admin.py +++ b/license_manager/apps/subscriptions/admin.py @@ -405,8 +405,8 @@ class CustomerAgreementAdmin(admin.ModelAdmin): search_fields = ( 'uuid__startswith', 'enterprise_customer_uuid__startswith', - 'enterprise_customer_slug__startswith', - 'enterprise_customer_name__startswith', + 'enterprise_customer_slug__istartswith', + 'enterprise_customer_name__istartswith', ) actions = ['sync_agreement_with_enterprise_customer'] @@ -711,8 +711,8 @@ class LicenseTransferJobAdmin(admin.ModelAdmin): search_fields = ( 'customer_agreement__enterprise_customer_uuid__startswith', - 'customer_agreement__enterprise_customer_slug__startswith', - 'customer_agreement__enterprise_customer_name__startswith', + 'customer_agreement__enterprise_customer_slug__istartswith', + 'customer_agreement__enterprise_customer_name__istartswith', 'old_subscription_plan', 'new_subscription_plan', )