From ea2ebf61cba8a7e973892be9136fc9d7648e3a77 Mon Sep 17 00:00:00 2001 From: Bary Levi Date: Mon, 22 Jul 2019 15:02:17 +0300 Subject: [PATCH] fix quote was outside of inline code (#6830) --- docs/api-guide/filtering.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api-guide/filtering.md b/docs/api-guide/filtering.md index bc49c2fb8..1bdb6c52b 100644 --- a/docs/api-guide/filtering.md +++ b/docs/api-guide/filtering.md @@ -219,7 +219,7 @@ For example: search_fields = ['=username', '=email'] -By default, the search parameter is named `'search`', but this may be overridden with the `SEARCH_PARAM` setting. +By default, the search parameter is named `'search'`, but this may be overridden with the `SEARCH_PARAM` setting. To dynamically change search fields based on request content, it's possible to subclass the `SearchFilter` and override the `get_search_fields()` function. For example, the following subclass will only search on `title` if the query parameter `title_only` is in the request: