TitasGailius / nova-search-relations

This package allow you to include relationship columns into Laravel Nova search query.
Other
352 stars 33 forks source link

Fix to qualify columns and use connectionType like operator. #10

Closed anderly closed 5 years ago

anderly commented 5 years ago

Based on Laravel\Nova\PerformsQueries trait.

anderly commented 5 years ago

FYI, this is needed in case you have the same column names (i.e. name, description) in the tables being joined. Otherwise, a search query fails because the column names are ambiguous.

Let me know if you have any questions and if you can merge.

TitasGailius commented 5 years ago

I'll check this tomorrow

TitasGailius commented 5 years ago

Thanks for your contribution. I'll release it soon.

anderly commented 5 years ago

@TitasGailius just checking to see if you can publish a release with this change?