[GH-ISSUE #2472] listUsers() does not support the query.filter option #26532

Closed
opened 2026-04-17 17:09:32 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @hotdogc1017 on GitHub (Apr 29, 2025).
Original GitHub issue: https://github.com/better-auth/better-auth/issues/2472

Is this suited for github?

  • Yes, this is suited for github

To Reproduce

none

Current vs. Expected behavior

Support for filters on arrays of objects

What version of Better Auth are you using?

latest

Provide environment information

Operating System:
  Platform: linux
  Arch: x64
  Version: #24~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Mar 25 20:14:34 UTC 2
  Available memory (MB): 31586
  Available CPU cores: 18
Binaries:
  Node: 22.14.0
  npm: 10.9.2
  Yarn: N/A
  pnpm: 10.6.3
Relevant Packages:
  next: 15.3.0 // There is a newer version (15.3.1) available, upgrade recommended! 
  eslint-config-next: 15.2.3
  react: 19.1.0
  react-dom: 19.1.0
  typescript: 5.8.3
Next.js Config:
  output: N/A

Which area(s) are affected? (Select all that apply)

Client

Additional context

The documentation clearly states that object array filtering is supported

https://www.better-auth.com/docs/plugins/admin#list-users

But in reality only a single filtering option is supported

Originally created by @hotdogc1017 on GitHub (Apr 29, 2025). Original GitHub issue: https://github.com/better-auth/better-auth/issues/2472 ### Is this suited for github? - [x] Yes, this is suited for github ### To Reproduce none ### Current vs. Expected behavior Support for filters on arrays of objects ### What version of Better Auth are you using? latest ### Provide environment information ```bash Operating System: Platform: linux Arch: x64 Version: #24~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Mar 25 20:14:34 UTC 2 Available memory (MB): 31586 Available CPU cores: 18 Binaries: Node: 22.14.0 npm: 10.9.2 Yarn: N/A pnpm: 10.6.3 Relevant Packages: next: 15.3.0 // There is a newer version (15.3.1) available, upgrade recommended! eslint-config-next: 15.2.3 react: 19.1.0 react-dom: 19.1.0 typescript: 5.8.3 Next.js Config: output: N/A ``` ### Which area(s) are affected? (Select all that apply) Client ### Additional context The documentation clearly states that object array filtering is supported https://www.better-auth.com/docs/plugins/admin#list-users But in reality only a single filtering option is supported
GiteaMirror added the locked label 2026-04-17 17:09:32 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#26532