-
Notifications
You must be signed in to change notification settings - Fork 277
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
option on torrent dialogue to change sort order #668
Comments
This will be quite a lot of work since you need to have a sort order asc and desc for each search engine * for each torrent client. While it would definitely be a nice enhancement, i think it will be fragile. |
@SchizoDuckie - I think an asc/desc option would be too much and fragile as you pointed out. As I mentioned in the reddit thread, the cleanest way to do it is to just tell the current search script to check from a different default link: kat: adding "age:xxxx" limits the search. The xxxx can be filled only with hour, 24h, week, month and year as parameters. This is directly added to either the search string or as a part of the link you provided after %s. So, with an on/off switch in settings, if these 3 links are exchanged with the added input, the torrent search script will get the html from those torrent providers in order of last upload. Default links as given by garfield: |
OK, I will implement a sort option on the torrent dialogue panel, but with the following restrictions: reference:
|
Excellent. One tip : Instead of the menu you could make the column headers
|
Only problem with that, is that currently the Age sort order is not displayed on the results... we are not manipulating the results we scraped, but are re-issuing the url with the appropriate sort commands included. I will take a look at all the WebSP to see if they all have the Age data available, and if they do, I can try to make room in the search results table for it, so that we can then use your click-column-headers idea. I'll update later with the findings. |
ok, findings: options: @SchizoDuckie please tick one
|
I would drop the age. ( It will be a bitch to parse and format, especially with translations, timezone offsets etc) and link the sorting to the column headers :) That keeps the whole thing generic, consistent and simple. Just add a sorting indicator to the specific column. |
torrent dialogue sort-columns feature. The standard torrent dialog columns: Size, Seeders and Leechers can now be sorted in descending order. Unfortunately, it is not practical to add a column for Age, because all the search providers present this information in different ways. However, since sort-by-age was the primary reason for raising this feature, I have elected to provide a setting, in the torrent-search-engines panel, to enable a Sort Menu on the torrent dialog. The default is for the sort menu to be hidden. The Sort menu includes an entry to sort the search results by Age, in newest to oldest order.
as discussed in this Reddit thread:
the idea is that some user might like to be able to change the sort order of torrents on the torrent dialogue.
the default for most searchProviders is peers-count but others may not have a sort capability.
so based on the searchProvider knowing if sort is supported, enable a sort menu to re-arrange the torrent results.
The text was updated successfully, but these errors were encountered: