Skip to content

273 #275

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

Merged
merged 1 commit into from
May 6, 2018
Merged

273 #275

merged 1 commit into from
May 6, 2018

Conversation

turingtestable
Copy link
Contributor

@turingtestable turingtestable commented May 4, 2018

Closes #273

  • reproduce issue in tests
  • fix issue

return $"{_context.BasePath}/{_context.RequestEntity.EntityName}?page[size]={pageSize}&page[number]={pageOffset}";
var filterQueryComposer = new QueryComposer();
var filters = filterQueryComposer.Compose(_context);
return $"{_context.BasePath}/{_context.RequestEntity.EntityName}?page[size]={pageSize}&page[number]={pageOffset}{filters}";
Copy link
Contributor

Choose a reason for hiding this comment

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

We should probably also include sort parameters, right?

@jaredcnance
Copy link
Contributor

Thanks @turingtestable!

@jaredcnance jaredcnance merged commit 89838b0 into json-api-dotnet:master May 6, 2018
jaredcnance added a commit that referenced this pull request Aug 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

When I utilize pagination for a result set that is filtered, the links should include the filters.
2 participants