This repository has been archived by the owner on Jul 16, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Leaving glocal scopes to be applied by Eloquent
Closes #245 and finally fixes #281 newQuery() is used to both create a Builder and apply scopes. This was being overridden so we could use our own Builder, but it brings more tasks inside the same overridden method. Thus, we now override newQueryWithoutScopes() that is indeed the main builder-instantiator, and leave scopes for Eloquent.
- Loading branch information