1
実際に同じクエリでフィルターとページネーションを使用できますか? 私はフィルタを使用して、私が期待したものを返すことができます。藻類フィルターとページングエラー
const query = { filters: `type: ${type}`};
が、私は、クエリでページを追加するとき、それはエラーを返します:
const query = { filters: `type: ${type}`, page: 2 };
のerr msgが読み:
AlgoliaSearchError {name: "AlgoliaSearchError", message: "filters: Unexpected token string(Object]) expected end of filter at col 14", debugData: Array(1), statusCode: 400, __zone_symbol__currentTask: ZoneTask…}
二重引用符を追加してスペースを削除すると、正常に動作します。ありがとう。 –