From 7d6ce46829b9fcf3eda252ef485a9179a9da8b35 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Fri, 12 Feb 2016 21:49:38 +0100 Subject: [PATCH] sort by views for mangafox and mangahere search results --- .../kanade/tachiyomi/data/source/online/english/Mangafox.java | 2 +- .../kanade/tachiyomi/data/source/online/english/Mangahere.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/data/source/online/english/Mangafox.java b/app/src/main/java/eu/kanade/tachiyomi/data/source/online/english/Mangafox.java index 229ead3e61..4ec2abacc5 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/data/source/online/english/Mangafox.java +++ b/app/src/main/java/eu/kanade/tachiyomi/data/source/online/english/Mangafox.java @@ -29,7 +29,7 @@ public class Mangafox extends Source { public static final String BASE_URL = "http://mangafox.me"; public static final String POPULAR_MANGAS_URL = BASE_URL + "/directory/%s"; public static final String SEARCH_URL = - BASE_URL + "/search.php?name_method=cw&advopts=1&order=az&sort=name&name=%s&page=%s"; + BASE_URL + "/search.php?name_method=cw&advopts=1&order=za&sort=views&name=%s&page=%s"; public Mangafox(Context context) { super(context); diff --git a/app/src/main/java/eu/kanade/tachiyomi/data/source/online/english/Mangahere.java b/app/src/main/java/eu/kanade/tachiyomi/data/source/online/english/Mangahere.java index 40b951574c..97c55092dc 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/data/source/online/english/Mangahere.java +++ b/app/src/main/java/eu/kanade/tachiyomi/data/source/online/english/Mangahere.java @@ -28,7 +28,7 @@ public class Mangahere extends Source { public static final String NAME = "Mangahere (EN)"; public static final String BASE_URL = "http://www.mangahere.co"; public static final String POPULAR_MANGAS_URL = BASE_URL + "/directory/%s"; - public static final String SEARCH_URL = BASE_URL + "/search.php?name=%s&page=%s"; + public static final String SEARCH_URL = BASE_URL + "/search.php?name=%s&page=%s&sort=views&order=za"; public Mangahere(Context context) { super(context);