Skip to content
This repository has been archived by the owner on Feb 7, 2025. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants