From 6affc3bf979ce2484b8e79af18ac171ce09e5bc8 Mon Sep 17 00:00:00 2001 From: Ian Scott Date: Mon, 8 Apr 2024 16:00:02 -0400 Subject: [PATCH] Fixed two regressions that arose from the merge process during rebase. --- docs/reference/rest_api_awards.md | 2 +- docs/reference/rest_api_communities.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/reference/rest_api_awards.md b/docs/reference/rest_api_awards.md index b6787327..b157c147 100644 --- a/docs/reference/rest_api_awards.md +++ b/docs/reference/rest_api_awards.md @@ -11,7 +11,7 @@ Query and retrieve entries from the [**awards** vocabulary](../customize/vocabul | Name | Type | Location | Description | | -------- | ------ | -------- | ------------------------------------ | | `q` | string | query | Search query used to filter results. | -| `sort` | string | query | Sort search results. Customizable. Built-in options are `"bestmatch"`, `"title"`, `"newest"`, `"oldest"` (default: `"bestmatch"` or `"title"`). | +| `sort` | string | query | Sort search results. Built-in options are `"bestmatch"`, `"title"`, `"newest"`, `"oldest"` (default: `"bestmatch"` or `"title"`). | | `size` | integer | query | Specify number of items in the results page (default: 10). | | `page` | integer | query | Specify the page of results. | | `suggest` | string | query | "Search as you type" query. | diff --git a/docs/reference/rest_api_communities.md b/docs/reference/rest_api_communities.md index 0e8c43ad..1228c33b 100644 --- a/docs/reference/rest_api_communities.md +++ b/docs/reference/rest_api_communities.md @@ -394,7 +394,7 @@ Same as `GET /api/communities` but with the authenticated user's communities in | Name | Type | Location | Description | |----------|---------|----------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | `q` | string | query | Search query used to filter results based on [ElasticSearch's query string syntax](https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-query-string-query.html#query-string-syntax). | -| `sort` | string | query | Sort search results. Built-in options are `"bestmatch"`, `"newest"`, `"oldest"`, `"updated-desc"`, `"updated-asc"`, `"version"` (default: `"bestmatch"` or `"newest"`). | +| `sort` | string | query | Sort search results. Customizable. Built-in options are `"bestmatch"`, `"newest"`, `"oldest"`, `"updated-desc"`, `"updated-asc"`, `"version"` (default: `"bestmatch"` or `"newest"`). | | `size` | integer | query | Specify number of items in the results page (default: 10). | | `page` | integer | query | Specify the page of results. | | `type` | string | query | Specify community type as one of organization, event, topic or project. |