From 041115ff0ef87c4e818f1eb01a560d74ca7bf8bd Mon Sep 17 00:00:00 2001 From: kaso17 Date: Thu, 20 Dec 2018 15:01:49 +0100 Subject: [PATCH] 1337x: sort results --- src/Jackett.Common/Definitions/1337x.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Jackett.Common/Definitions/1337x.yml b/src/Jackett.Common/Definitions/1337x.yml index de2c138ce..daa11715f 100644 --- a/src/Jackett.Common/Definitions/1337x.yml +++ b/src/Jackett.Common/Definitions/1337x.yml @@ -119,11 +119,11 @@ search: paths: # present trending results if there are no search parms supplied - - path: "{{if .Keywords}}/search/{{ .Keywords}}/1/{{else}}/trending{{end}}" - - path: "{{if .Keywords}}/search/{{ .Keywords}}/2/{{else}}{{end}}" - - path: "{{if .Keywords}}/search/{{ .Keywords}}/3/{{else}}{{end}}" - - path: "{{if .Keywords}}/search/{{ .Keywords}}/4/{{else}}{{end}}" - - path: "{{if .Keywords}}/search/{{ .Keywords}}/5/{{else}}{{end}}" + - path: "{{if .Keywords}}/sort-search/{{ .Keywords}}/time/desc/1/{{else}}/trending{{end}}" + - path: "{{if .Keywords}}/sort-search/{{ .Keywords}}/time/desc/2/{{else}}{{end}}" + - path: "{{if .Keywords}}/sort-search/{{ .Keywords}}/time/desc/3/{{else}}{{end}}" + - path: "{{if .Keywords}}/sort-search/{{ .Keywords}}/time/desc/4/{{else}}{{end}}" + - path: "{{if .Keywords}}/sort-search/{{ .Keywords}}/time/desc/5/{{else}}{{end}}" keywordsfilters: - name: replace # use this as a workaround till #893 is implemented args: ["Greys Anatomy", "Grey's Anatomy"]