diff --git a/TODO b/TODO index 7578087e..c5b5e090 100644 --- a/TODO +++ b/TODO @@ -30,13 +30,13 @@ everything related to posts: - search filters - submit:rr- - comment:rr- - - comment: 3..5 + - comment_count: 3..5 - fav:rr- - - fav:3..5 + - fav_count:3..5 - score:3..5 - - tag:3..5 - - filesize:3K..5M - - imgsize:huge/large/medium/small + - tag_count:3..5 + - file_size:3K..5M + - image_size:huge/large/medium/small - hash:postName - type:img/flash/yt/video - special:liked @@ -45,14 +45,14 @@ everything related to posts: - special:hidden - search order - order:id - - order:date + - order:time - order:score - - order:comments - - order:favs - - order:tags - - order:commentdate - - order:favdate - - order:filesize + - order:comment_count + - order:fav_count + - order:tag_count + - order:comment_time + - order:fav_time + - order:file_size - order:random (at least unstable version) everything related to users: diff --git a/public_html/templates/user-list.tpl b/public_html/templates/user-list.tpl index 6565e848..4fa5a6f6 100644 --- a/public_html/templates/user-list.tpl +++ b/public_html/templates/user-list.tpl @@ -7,10 +7,10 @@ Sort Z→A
  • - Sort old→new + Sort old→new
  • - Sort new→old + Sort new→old
  • diff --git a/src/SearchServices/Parsers/UserSearchParser.php b/src/SearchServices/Parsers/UserSearchParser.php index e42d7e14..53638fb8 100644 --- a/src/SearchServices/Parsers/UserSearchParser.php +++ b/src/SearchServices/Parsers/UserSearchParser.php @@ -23,7 +23,7 @@ class UserSearchParser extends AbstractSearchParser if ($token === 'name') return \Szurubooru\SearchServices\Filters\UserFilter::ORDER_NAME; - if (in_array($token, ['registrationDate', 'registrationTime', 'registered', 'joinDate', 'joinTime', 'joined'])) + elseif ($token === 'registration_time') return \Szurubooru\SearchServices\Filters\UserFilter::ORDER_REGISTRATION_TIME; return null;