This repository has been archived by the owner on Jul 16, 2023. It is now read-only.
v3.4.2: 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.