From a30886cc70c500eefdd0c989d6362dd1f2d9b978 Mon Sep 17 00:00:00 2001 From: rr- Date: Fri, 22 Apr 2016 19:37:58 +0200 Subject: [PATCH] server/search: rename order: to sort: --- API.md | 8 +-- client/html/help-search-general.hbs | 8 +-- client/html/help-search-posts.hbs | 2 +- client/html/help-search-tags.hbs | 2 +- client/html/help-search-users.hbs | 2 +- server/.pylintrc | 3 +- server/szurubooru/api/info_api.py | 3 +- .../szurubooru/search/base_search_config.py | 6 +- server/szurubooru/search/search_executor.py | 66 ++++++++++--------- server/szurubooru/search/tag_search_config.py | 32 ++++----- .../szurubooru/search/user_search_config.py | 22 +++---- .../tests/search/test_tag_search_config.py | 28 ++++---- .../tests/search/test_user_search_config.py | 52 +++++++-------- 13 files changed, 117 insertions(+), 117 deletions(-) diff --git a/API.md b/API.md index 8cabcd1..94b3f26 100644 --- a/API.md +++ b/API.md @@ -329,7 +329,7 @@ data. | `suggestion-count` | with given number of suggestions | | `implication-count` | with given number of implications | - **Order tokens** + **Sort style tokens** | `` | Description | | ------------------- | ---------------------------- | @@ -637,7 +637,7 @@ data. | `login-date` | alias of `last-login-date` | | `login-time` | alias of `last-login-date` | - **Order tokens** + **Sort style tokens** | `` | Description | | ----------------- | -------------------------- | @@ -907,7 +907,7 @@ data. | `operation` | `changed`, `created` or `deleted` | | `user` | name of the user that created given snapshot | - **Order tokens** + **Sort style tokens** None. The snapshots are always sorted by creation time. @@ -1095,7 +1095,7 @@ be of following form: | ----------------- | ----------------- | ------------------------------------------ | | `` | anonymous tokens | basic filters | | `:` | named tokens | advanced filters | -| `order: