corean
corean
FFilament
Created by corean on 12/28/2023 in #❓┊help
relationship sorting in table
Tables\Columns\TextColumn::make('firstCategory.name')
Tables\Columns\TextColumn::make('firstCategory.name')
displayed in table builder
14 replies
FFilament
Created by corean on 12/28/2023 in #❓┊help
relationship sorting in table
The relationship is currently set up.
public function firstCategory(): BelongsTo
{
return $this->belongsTo(ProductFirstCategory::class, 'category_1_id');
}
public function firstCategory(): BelongsTo
{
return $this->belongsTo(ProductFirstCategory::class, 'category_1_id');
}
14 replies
FFilament
Created by corean on 12/28/2023 in #❓┊help
relationship sorting in table
SELECT
*
FROM
`product_2_categories`
ORDER BY
`firstCategory`.`order_column` ASC
limit
10 OFFSET 0
SELECT
*
FROM
`product_2_categories`
ORDER BY
`firstCategory`.`order_column` ASC
limit
10 OFFSET 0
14 replies
FFilament
Created by Hooligan Dev on 10/19/2023 in #❓┊help
Select::isOptionDisabled(): Argument #2 ($label) must be of type string, null given
maybe, value is null in <select>
28 replies