Skip to content
New issue

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

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

Already on GitHub? # to your account

LITE-28409: Adding pagination capability #90

Merged
merged 1 commit into from
Aug 17, 2023

Conversation

akodelia
Copy link
Contributor

No description provided.

@akodelia akodelia force-pushed the feature/LITE-28409-Add-pagination-to-endpoints branch from c4f94e4 to c8f6040 Compare August 17, 2023 08:17
"""
paginated = paginate(db, query, params)
resolve_params(params)
response.headers['X-Total-Count'] = str(paginated.total)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[COD-C] It is not clear why do we need this header. It duplicates the Content-Range value

@akodelia akodelia force-pushed the feature/LITE-28409-Add-pagination-to-endpoints branch from c8f6040 to 3388460 Compare August 17, 2023 09:06
@akodelia akodelia requested a review from d3rky August 17, 2023 09:40
@d3rky d3rky merged commit 91d09f1 into master Aug 17, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants