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

Search sometimes shows incomplete results #201

Open
cespare opened this issue Apr 4, 2012 · 8 comments
Open

Search sometimes shows incomplete results #201

cespare opened this issue Apr 4, 2012 · 8 comments
Labels

Comments

@cespare
Copy link
Contributor

cespare commented Apr 4, 2012

Under some conditions, the search will not return the full 10 results even when there are more than 10 matching commits:

screenshot

When this happens, if you page forward and then back, the search box will be too short (it was sized to fit < 10 elements) and you get an overflow:

screenshot

@cespare
Copy link
Contributor Author

cespare commented Apr 4, 2012

This appears to be a bug with "only show unapproved". (That filter is applied to the first search in the above images). If I approve more commits showing on the front page, then the first page gets smaller and smaller and the trailing 2 results that aren't shown stay on the second page. If I approve all the commits on the front page, then "no results" is shown and there's no way to get to those trailing commits at all (or any indication that they might exist).

@philc
Copy link
Contributor

philc commented Apr 4, 2012

Yep, there must be a bug in there somewhere. There's another ticket in our issue list alluding to this.

@cespare
Copy link
Contributor Author

cespare commented Apr 4, 2012

Related to #144.

@zdyn
Copy link
Contributor

zdyn commented May 8, 2012

Can you still repro this? I can't repro locally on the latest production release.

@cespare
Copy link
Contributor Author

cespare commented May 8, 2012

@zdyn I'm not sure of all the repro conditions, tbh. I'll try to play around with it more and see if I can figure them out. Any chance it was inadvertently fixed by your fix to #144?

@zdyn
Copy link
Contributor

zdyn commented May 8, 2012

I tested on an older commit and couldn't repro but then I could've been doing it wrong.

@cespare
Copy link
Contributor Author

cespare commented May 8, 2012

I can't reproduce this. I'm going to close it for now. I'll reopen with more details if I can figure out the repro conditions.

@cespare cespare closed this as completed May 8, 2012
@cespare
Copy link
Contributor Author

cespare commented Aug 8, 2012

This happened again today with one of my commits. I'm still not 100% sure of the conditions, but it only happened with 'only show unapproved'.

I'm going to reopen as this is definitely still a bug.

@cespare cespare reopened this Aug 8, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants