Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

addCustomDatabaseColumn() not working with searchable. #10

Open
nshiddqui opened this issue Dec 17, 2022 · 1 comment
Open

addCustomDatabaseColumn() not working with searchable. #10

nshiddqui opened this issue Dec 17, 2022 · 1 comment

Comments

@nshiddqui
Copy link
Contributor

Describe the bug
when you will use addCustomDatabaseColumn() as a column
it is using the alias name as column in where.

To Reproduce
Steps to reproduce the behavior:
use to add column with addCustomDatabaseColumn()
and using search from frontend. it will throw error

example :-

$func_full_name = $columns->func()->concat(['first_name' => 'identifier', ' ', 'last_name' => 'identifier']);
$columns->addCustomDatabaseColumn($func_full_name, 'full_name')

@nshiddqui
Copy link
Contributor Author

any update?

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

No branches or pull requests

1 participant