snipe
snipe
FFilament
Created by snipe on 6/12/2024 in #❓┊help
Tabbed container with infolist in one tab, other related tables in the other tabs
Oh of that I'm 100% certain lol
92 replies
FFilament
Created by snipe on 6/12/2024 in #❓┊help
Tabbed container with infolist in one tab, other related tables in the other tabs
Weird that none of the other sorting bonked tho
92 replies
FFilament
Created by snipe on 6/12/2024 in #❓┊help
Tabbed container with infolist in one tab, other related tables in the other tabs
I'm not sure whether I solved it the right way, mind you 😄
92 replies
FFilament
Created by snipe on 6/12/2024 in #❓┊help
Tabbed container with infolist in one tab, other related tables in the other tabs
(It's all dummy seed data, of course)
92 replies
FFilament
Created by snipe on 6/12/2024 in #❓┊help
Tabbed container with infolist in one tab, other related tables in the other tabs
If you click on the Users tab section and then the assets tab in the users listing
92 replies
FFilament
Created by snipe on 6/12/2024 in #❓┊help
Tabbed container with infolist in one tab, other related tables in the other tabs
I don't think the Expose tunnel will stay open for long, but https://s5hiupeera.sharedwithexpose.com - email: [email protected], password: password
92 replies
FFilament
Created by snipe on 6/12/2024 in #❓┊help
Tabbed container with infolist in one tab, other related tables in the other tabs
But oddly, some of my sortable() columns arde not sortable anymore
92 replies
FFilament
Created by snipe on 6/12/2024 in #❓┊help
Tabbed container with infolist in one tab, other related tables in the other tabs
I think I got it working
92 replies
FFilament
Created by snipe on 6/12/2024 in #❓┊help
Tabbed container with infolist in one tab, other related tables in the other tabs
(Since those sorts are being done on the query reults that are being passed, and that is a user object, which wouldn't have purchase_date, etc on it.)
92 replies
FFilament
Created by snipe on 6/12/2024 in #❓┊help
Tabbed container with infolist in one tab, other related tables in the other tabs
We alreadsy account for those sorting scopes in our API, but we're not using our API for that, so all is goofed up
92 replies
FFilament
Created by snipe on 6/12/2024 in #❓┊help
Tabbed container with infolist in one tab, other related tables in the other tabs
Where I think I'm messing this up is how I'm approaching the filter query.
public function table(Table $table)
{
return AssetResource::table($table)
->query(Asset::query()->with('user'));
}
public function table(Table $table)
{
return AssetResource::table($table)
->query(Asset::query()->with('user'));
}
if I do that, I need the record ID, so I'm back to being boned. If I do it from the user search:
public function table(Table $table)
{
return AssetResource::table($table)
->query(User::query()->with('assets'));
}
public function table(Table $table)
{
return AssetResource::table($table)
->query(User::query()->with('assets'));
}
the sorting and filtering get screwy where it's trying to sort on asset fields against the user table
92 replies
FFilament
Created by snipe on 6/12/2024 in #❓┊help
Tabbed container with infolist in one tab, other related tables in the other tabs
I really appreciate everyone's time helping me - you folks are the best. If you're ever in Portugal, I'll buy you a ginginha or an imperial 🙂
92 replies
FFilament
Created by snipe on 6/12/2024 in #❓┊help
Tabbed container with infolist in one tab, other related tables in the other tabs
The current version of this software consumes our own API via bootstrap tables, so it's a bit more confusing to think about this stuff from a LW perspective
92 replies
FFilament
Created by snipe on 6/12/2024 in #❓┊help
Tabbed container with infolist in one tab, other related tables in the other tabs
I think I farted up some of the stuff in the resources
92 replies
FFilament
Created by snipe on 6/12/2024 in #❓┊help
Tabbed container with infolist in one tab, other related tables in the other tabs
If I dump out $getRecord() in the LW component, it does seem to show the correct record - just having a helluva time including it in the query
92 replies
FFilament
Created by snipe on 6/12/2024 in #❓┊help
Tabbed container with infolist in one tab, other related tables in the other tabs
Getting closer 🙂 Now the table loads with nothing in it lol
92 replies
FFilament
Created by snipe on 6/12/2024 in #❓┊help
Tabbed container with infolist in one tab, other related tables in the other tabs
92 replies
FFilament
Created by snipe on 6/12/2024 in #❓┊help
Tabbed container with infolist in one tab, other related tables in the other tabs
(It's very long, sorry)
92 replies
FFilament
Created by snipe on 6/12/2024 in #❓┊help
Tabbed container with infolist in one tab, other related tables in the other tabs
92 replies
FFilament
Created by snipe on 6/12/2024 in #❓┊help
Tabbed container with infolist in one tab, other related tables in the other tabs
Ugh, I've changed so many things now that I'm not sure where its broken
92 replies