Collection Datasource Throws an Unkown Error #776
Replies: 10 comments
-
any help? :/ |
Beta Was this translation helpful? Give feedback.
-
I have no idea yet, why not use builder instead of collection? |
Beta Was this translation helpful? Give feedback.
-
basically i want to eliminate links duplicates by site , and only showing the cheapest one from the duplicates ( lowest price ) |
Beta Was this translation helpful? Give feedback.
-
Does this map work if you manipulate the Helpers/Model or in the component? |
Beta Was this translation helpful? Give feedback.
-
the map works if return type of Datasource is collection, but it throws an error while filtering, if i switch it to Builder i get this -> |
Beta Was this translation helpful? Give feedback.
-
any idea on how to get same results ( retreiving only cheapest link by site from duplicates ) with Eloquent\Builder::class ? @luanfreitasdev Thank you for the help |
Beta Was this translation helpful? Give feedback.
-
Have you tried using Join ? |
Beta Was this translation helpful? Give feedback.
-
No i didnt because i simply couldnt figure it out with join |
Beta Was this translation helpful? Give feedback.
-
and i dont need to join two tables there, everything i need is in the same table and Model Links |
Beta Was this translation helpful? Give feedback.
-
I believe it is not a bug in the component. Maybe it could be a new feature or something query builder related. |
Beta Was this translation helpful? Give feedback.
-
This is my datasource :
The table shows up normally, but after fiiltering or doing an action that refresh the table, it shows this error :
First iit shows a blank livewire error page :
And in the console this :
livewire.js?id=c69d0f2801c01fcf8166:13 POST https://linkpandas.com/livewire/message/customer-links-table 500
iit throws a 500 error message, but i dont know whats the error, this bug only occurs on datasource collection, on builer it works normally , i have powergrid V3
Beta Was this translation helpful? Give feedback.
All reactions