diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 3555723138..0df3bc3cc0 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -15,6 +15,10 @@ Change Log Unreleased ---------- +[4.13.7] +--------- +* fix: adding get_queryset for fix of integrated channel api logs loading + [4.13.6] --------- * feat: disable failing transmissions for 24hrs diff --git a/enterprise/__init__.py b/enterprise/__init__.py index e8d7931c2a..f85bffb4cc 100644 --- a/enterprise/__init__.py +++ b/enterprise/__init__.py @@ -2,4 +2,4 @@ Your project description goes here. """ -__version__ = "4.13.6" +__version__ = "4.13.7" diff --git a/integrated_channels/integrated_channel/admin/__init__.py b/integrated_channels/integrated_channel/admin/__init__.py index c3ee07a92c..c262ce2994 100644 --- a/integrated_channels/integrated_channel/admin/__init__.py +++ b/integrated_channels/integrated_channel/admin/__init__.py @@ -99,16 +99,10 @@ class IntegratedChannelAPIRequestLogAdmin(admin.ModelAdmin): list_display = [ "endpoint", - "enterprise_customer", + "enterprise_customer_id", "time_taken", "status_code", ] - list_filter = [ - "status_code", - "enterprise_customer", - "endpoint", - "time_taken", - ] search_fields = [ "status_code", "enterprise_customer", @@ -130,5 +124,9 @@ class IntegratedChannelAPIRequestLogAdmin(admin.ModelAdmin): list_per_page = 20 + def get_queryset(self, request): + queryset = super().get_queryset(request) + return queryset.select_related('enterprise_customer') + class Meta: model = IntegratedChannelAPIRequestLogs