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

NRediSearch paging fails on pagesize 20 #940

Closed
dme-development opened this issue Sep 4, 2018 · 1 comment
Closed

NRediSearch paging fails on pagesize 20 #940

dme-development opened this issue Sep 4, 2018 · 1 comment

Comments

@dme-development
Copy link

I believe there is an issue with the .Boxed() method in Literals.cs when the property has value 20. This will cause an "Index was outside the bounds of the array" error.

                args.Add("LIMIT".Literal());
                args.Add(_paging.Offset.Boxed());
                args.Add(_paging.Count.Boxed());
@mgravell
Copy link
Collaborator

mgravell commented Sep 4, 2018

You're absolutely right; thanks - fixed in the code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants