Skip to content

Commit

Permalink
Merge pull request #2307 from openedx/mkeating/ENT-9467
Browse files Browse the repository at this point in the history
feat: Add page_size support to enterprise-customer-members endpoint
  • Loading branch information
marlonkeating authored Dec 18, 2024
2 parents 3995cc1 + 7cfed71 commit 6a6ca43
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ Unreleased
----------
* nothing unreleased

[5.5.2]
--------
* feat: Add page_size support to enterprise-customer-members endpoint

[5.5.1]
--------
* fix: Fixed the query fetching enterprise customer members
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__ = "5.5.1"
__version__ = "5.5.2"
1 change: 1 addition & 0 deletions enterprise/api/v1/views/enterprise_customer_members.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ class EnterpriseCustomerMembersPaginator(PageNumberPagination):
"""Custom paginator for the enterprise customer members."""

page_size = 10
page_size_query_param = 'page_size'

def get_paginated_response(self, data):
"""Return a paginated style `Response` object for the given output data."""
Expand Down

0 comments on commit 6a6ca43

Please sign in to comment.