Skip to content

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