lazychaser / laravel-nestedset

Effective tree structures in Laravel 4-8

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Use fully qualified key on QueryBuilder

equinoxmatt opened this issue · comments

When using your library I encountered an error when applying scopes. It appears the package is not using the table prefix, which means you encounter ambiguous column errors when trying to do advanced queries.

A patch which solves this problem: https://gist.github.com/equinoxmatt/11f63f28967598f79d34ef36f45a6723