WallHaven: use sort by relevance as default

This commit is contained in:
Ly-sec
2025-11-16 16:31:49 +01:00
parent de200a929c
commit 01b44e0b28
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -127,7 +127,7 @@
"hideWallpaperFilenames": false,
"useWallhaven": false,
"wallhavenQuery": "",
"wallhavenSorting": "date_added",
"wallhavenSorting": "relevance",
"wallhavenOrder": "desc",
"wallhavenCategories": "111",
"wallhavenPurity": "100",
+1 -1
View File
@@ -266,7 +266,7 @@ Singleton {
// Wallhaven settings
property bool useWallhaven: false
property string wallhavenQuery: ""
property string wallhavenSorting: "date_added"
property string wallhavenSorting: "relevance"
property string wallhavenOrder: "desc"
property string wallhavenCategories: "111" // general,anime,people
property string wallhavenPurity: "100" // sfw only
@@ -173,7 +173,7 @@ Popup {
"key": "toplist",
"name": I18n.tr("wallpaper.panel.sorting.toplist")
}]
currentKey: Settings.data.wallpaper.wallhavenSorting || "date_added"
currentKey: Settings.data.wallpaper.wallhavenSorting || "relevance"
onSelected: key => {
Settings.data.wallpaper.wallhavenSorting = key
if (typeof WallhavenService !== "undefined") {
+1 -1
View File
@@ -20,7 +20,7 @@ Singleton {
// Search parameters
property string categories: "111" // general,anime,people (all enabled by default)
property string purity: "100" // sfw
property string sorting: "date_added" // date_added, relevance, random, views, favorites, toplist
property string sorting: "relevance" // date_added, relevance, random, views, favorites, toplist
property string order: "desc" // desc, asc
property string topRange: "1M" // 1d, 3d, 1w, 1M, 3M, 6M, 1y
property string seed: "" // For random sorting