From 3e89a2f364c946a27cd96aa6a6b566342caa5cec Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Sat, 15 Feb 2020 07:05:32 +1300 Subject: [PATCH] ibit: change sort options. resolves #7180 --- src/Jackett.Common/Definitions/ibit.yml | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/src/Jackett.Common/Definitions/ibit.yml b/src/Jackett.Common/Definitions/ibit.yml index ea6615737..fd832c891 100644 --- a/src/Jackett.Common/Definitions/ibit.yml +++ b/src/Jackett.Common/Definitions/ibit.yml @@ -29,17 +29,21 @@ movie-search: [q] settings: - - name: sort + - name: sortby type: select label: Sort requested from site (applies only to Keyword searches) - default: "uploaded_at:desc" + default: "uploaded_at" options: - "uploaded_at:desc": "created desc" - "uploaded_at:asc": "created asc" - "seeders:desc": "seeders desc" - "seeders:asc": "seeders asc" - "size:desc": "size desc" - "size:asc": "size asc" + "uploaded_at": "created" + "seeders": "seeders" + "size": "size" + - name: order + type: select + label: Order requested from site + default: "desc" + options: + "desc": "desc" + "asc": "asc" download: selector: script:contains("magnet:?xt=") @@ -56,7 +60,7 @@ search: paths: # https://ibit.to/torrent-search/2019/all/uploaded_at:desc/1/ - - path: "torrent-search/{{ if .Keywords }}{{ .Keywords }}{{else}}2019{{end}}/all/{{ .Config.sort }}/1/" + - path: "torrent-search/{{ if .Keywords }}{{ .Keywords }}{{else}}2019{{end}}/all/{{ .Config.sortby }}:{{ .Config.order }}/1/" rows: selector: table.striped > tbody > tr