Add alphabetically sorting (#190)

This commit is contained in:
Mysterious_Dev
2021-04-25 04:44:11 +02:00
committed by GitHub
parent 15c56dfcb8
commit 712424c339
2 changed files with 19 additions and 0 deletions

View File

@@ -163,6 +163,7 @@ pub async fn search_for_mod(
"relevance" => "relevance_mods",
"downloads" => "downloads_mods",
"follows" => "follows_mods",
"alphabetically" => "alphabetically_mods",
"updated" => "updated_mods",
"newest" => "newest_mods",
i => return Err(SearchError::InvalidIndex(i.to_string())),