Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

relationship in where clause #5771

Open
Tahernejad opened this issue Jun 3, 2023 · 1 comment
Open

relationship in where clause #5771

Tahernejad opened this issue Jun 3, 2023 · 1 comment

Comments

@Tahernejad
Copy link

Laravel version

9.52.8

PHP version

8.2.6

Voyager version

1.6.0

Database

10.3.34-MariaDB

Description

Hi,
In browse views, cannot search relation fileds:

SQLSTATE[42S22]: Column not found: 1054 Unknown column 'users.users_belongsto_organization_relationship' in 'where clause'

Steps to reproduce

Search relational fields in browse views (server-side paging)

Expected behavior

Return searched results

Screenshots

No response

Additional context

No response

@shahburhan
Copy link

shahburhan commented Jun 21, 2023

It's a bug indeed. You can use #5775 as a fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants