We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
'columns' => array( 'id', 'username', 'full_name' => array( 'title' => 'Full Name', 'relationship' => 'profile', 'select' => "(:table).full_name" ), )
I'm facing issue with above column full_name. I use table prefix, and the issue is with aliasing.
r_ is my prefix, profiles is the relationship table.
r_
profiles
WHERE r_users.id = full_name_r_profiles.user_id AND `r_full_name_r_profiles`.`user_id` is not null
Problem is, for the first condition it used full_name_r_profiles and after 'AND' r_full_name_r_profiles.
full_name_r_profiles
r_full_name_r_profiles
Correct version is full_name_r_profiles.
The text was updated successfully, but these errors were encountered:
Updated prefix issue with wheres
456bd54
Fixed FrozenNode#982
Update Relationship.php
9251095
FrozenNode#982 fixed
No branches or pull requests
I'm facing issue with above column full_name. I use table prefix, and the issue is with aliasing.
r_
is my prefix,profiles
is the relationship table.Problem is,
for the first condition it used
full_name_r_profiles
and after 'AND'r_full_name_r_profiles
.Correct version is
full_name_r_profiles
.The text was updated successfully, but these errors were encountered: