Laravel Nova & Corcel - many-to-many relation #643
Unanswered
NowakAdmin
asked this question in
Q&A
Replies: 1 comment
-
After few hours of digging I tried to apply solutions from:
my product.php
Now it seems well pick databases but WP_DB_PREFIX seems to still apply and even twice, how to null it inside public function ?
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm not sure if it is corcel or nova issue (or my limited understanding), maybe can someone deep into corcel look at this?
I have a hard time to acquire proper relation betwen fair_lead and product(corcel), nova try to search for pivot table in wordpress database instead of laravel database.
Laravel: 10.43.0
Nova: 4.23.0
PHP: 8.2.13
Corcel: jgrossi/corcel @ v7.0.0
I need to nova to search for pivot in laravel database not in corcel(wordpress) database for fair_lead_product table.
Displaying Products works well in nova, but I can't get relation work as wanted.
I posted details on stack:
https://stackoverflow.com/questions/77986219/laravel-nova-corcel-many-to-many-relation
Beta Was this translation helpful? Give feedback.
All reactions