© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
1 reply
Veur

Reordering records with order record in a pivot table

I have a
texts
texts
and
categories
categories
table. The
Text
Text
model has a
belongsToMany
belongsToMany
relationship with the
Category
Category
model.
The pivot table
category_text
category_text
has a
sort
sort
column.
Is there a way to reorder the table and store the order in the pivot table?

At the moment I get this error:
Call to a member function update() on null
vendor/filament/tables/src/Concerns/CanReorderRecords.php: 35
Call to a member function update() on null
vendor/filament/tables/src/Concerns/CanReorderRecords.php: 35
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Repeater Pivot Table with Order
FilamentFFilament / ❓┊help
2y ago
Reorder table records from a pivot relationship
FilamentFFilament / ❓┊help
3y ago
repeated pivot table records displaying incorrectly in relationmanager table
FilamentFFilament / ❓┊help
7mo ago
Update pivot table when editing record
FilamentFFilament / ❓┊help
2y ago