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

Package search response has incorrect total count #3245

Closed
chefsalim opened this issue Sep 20, 2017 · 2 comments
Closed

Package search response has incorrect total count #3245

chefsalim opened this issue Sep 20, 2017 · 2 comments
Assignees
Labels
Type: Bug Issues that describe broken functionality

Comments

@chefsalim
Copy link
Contributor

chefsalim commented Sep 20, 2017

Repro - issue a package search command, such as :
http GET http://localhost:9636/v1/depot/pkgs/search/testapp Authorization:Bearer:${HAB_AUTH_TOKEN}

Get back a bunch of results... and :
"range_end": 61,
"range_start": 0,
"total_count": 12

The total count should be 62

@chefsalim chefsalim added this to the Pre-Neighborhoods milestone Sep 20, 2017
@chefsalim chefsalim added this to Ready For Analysis in Core Engineering Sep 20, 2017
@chefsalim
Copy link
Contributor Author

The channels API is doing some wierd things with the range as well - eg
http GET http://localhost:9636/v1/depot/channels/chefsalim/stable/pkgs Authorization:Bearer:${HAB_AUTH_TOKEN}

returns (on my machine):
{
"data": [],
"range_end": 49,
"range_start": 0,
"total_count": 0
}

@raskchanky raskchanky self-assigned this Sep 22, 2017
@raskchanky raskchanky moved this from Ready For Analysis to In Analysis in Core Engineering Sep 22, 2017
@raskchanky raskchanky moved this from In Analysis to In Development in Core Engineering Sep 22, 2017
@raskchanky
Copy link
Contributor

This is related to #3207

@raskchanky raskchanky moved this from In Development to Ready for Review in Core Engineering Sep 26, 2017
@reset reset moved this from Ready for Review to In Acceptance in Core Engineering Sep 26, 2017
@reset reset removed this from In Acceptance in Core Engineering Oct 9, 2017
@christophermaier christophermaier added Type: Bug Issues that describe broken functionality and removed C-bug labels Jul 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issues that describe broken functionality
Projects
None yet
Development

No branches or pull requests

3 participants