# 自定义用户字段搜索

**URL:** https://meta.discourse.org/t/search-with-custom-user-fields/282785
**Category:** Development
**Tags:** rest-api
**Created:** [2023年十月19日 11:59 UTC](https://meta.discourse.org/t/search-with-custom-user-fields/282785 "2023-10-19T11:59:14Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![Hitesh\_Sharma](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hitesh_sharma/32/309992_2.png) [@Hitesh\_Sharma](https://meta.discourse.org/u/Hitesh_Sharma)
#### Post date: [2023年十月19日 12:56 UTC](https://meta.discourse.org/t/search-with-custom-user-fields/282785/3 "2023-10-19T12:56:38Z")

</div>

我也尝试了同样的方法，但它只在传递用户字段值时与名称 **1vic** 一起工作，但 **“sgroup\_admin”** 不起作用。

> **[SupportGroups™ - Mental Health Support & Community](https://supportgroups.com/directory_items.json?period=weekly&order=likes_received&name=1vic&user_field_ids=5)**
>
> Join over 350,000 members in our supportive community. We're committed to making therapy, support, and personal growth affordable and accessible to everyone.

 ![Screenshot from 2023-10-19 18-26-58](https://global.discourse-cdn.com/meta/original/4X/9/6/1/961ae4447553f3a456b8de63d6d37ae68143d7a9.png)

@Canapin

---

_[View the full topic](https://meta.discourse.org/t/search-with-custom-user-fields/282785)._
