Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrated channel api logs loading fix #2035

Merged
merged 10 commits into from
Mar 13, 2024
4 changes: 4 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ Change Log
Unreleased
----------

[4.12.6]
---------
* fix: adding get_queryset for fix of integrated channel api logs loading

[4.12.5]
---------
* feat: adding a group membership to the EnterpriseCustomerUserReadOnlySerializer
Expand Down
2 changes: 1 addition & 1 deletion enterprise/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
Your project description goes here.
"""

__version__ = "4.12.5"
__version__ = "4.12.6"
4 changes: 4 additions & 0 deletions integrated_channels/integrated_channel/admin/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,5 +130,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')
sameenfatima78 marked this conversation as resolved.
Show resolved Hide resolved

class Meta:
model = IntegratedChannelAPIRequestLogs
Loading