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

When limiting results, sort order isn't working properly #5

Closed
rafi opened this issue Jun 15, 2017 · 2 comments
Closed

When limiting results, sort order isn't working properly #5

rafi opened this issue Jun 15, 2017 · 2 comments

Comments

@rafi
Copy link

rafi commented Jun 15, 2017

When limiting number of results (-n), top sorted items aren't shown. Following examples include only the first top 10 results.

First with no limit:

$ we-get --search genius -t all -q 720p
eztv ... [163/?]
eztv ... [131/?]
eztv ... [90/?]
eztv ... [76/?]
eztv ... [70/?]
the_pirate_bay ... [63/5]
eztv ... [60/?]
eztv ... [56/?]
eztv ... [53/?]
eztv ... [42/?]

High seeded matches are shown on the top, awesome!

But the list is too long, I just want the top 25 results:

$ we-get --search genius -t all -q 720p -n 25
eztv ... [131/?]
the_pirate_bay ... [63/5]
eztv ... [53/?]
eztv ... [42/?]
eztv ... [6/?]
eztv ... [5/?]
eztv ... [5/?]
eztv ... [5/?]
eztv ... [5/?]
eztv ... [4/?]

Items with much less seeds (default sort order) are shown. All the top seeded ones are missing.

Expected to see same results when limiting count.

@rachmadaniHaryono
Copy link
Owner

rachmadaniHaryono commented Jun 15, 2017

thanks @rafi for the bug report,

00834dd should fix it, so can you try once again?

@rafi
Copy link
Author

rafi commented Jun 20, 2017

It works great now, thanks! :-)

@rafi rafi closed this as completed Jun 20, 2017
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