Closed preliot closed 3 years ago
Did you solve it? Same issue
Had a week off :)
Unfortunatly no. The author of this package suggests it's a Laravel issue (see linked issues), although i'm pretty sure something is wrong. Because it was not critical for our project we just ignored this issue.
Would be nice though if it was fixed.
Also having issues with a search on relations on another connection. In other issues (https://github.com/TitasGailius/nova-search-relations/issues/22, https://github.com/TitasGailius/nova-search-relations/issues/28) you've said the packages adds a bunch of whereHas scopes.
But why doens't it work? All my code seems to work fine, except when i try to search on relations on other connections. For example, when i search in my nova resource SupplierProduct for a supplier, i get a 'Base table or view not found'. The resulting query shows me that the connection is not added to the supplier.
Message
(This shows the wrong connection is used for this table)
Model SupplierProduct:
Model Supplier:
Questions