tiagof
Repos
12
Followers
3
Following
1

Events

issue comment
Apply scopes to relationship

Yep, sorry.

Created at 1 week ago
pull request opened
Apply scopes to relationship

PR to fix #4125

Created at 1 week ago

Apply scopes to relationship

Created at 1 week ago
create branch
tiagof create branch fix/apply-query-scopes
Created at 1 week ago

Refactor select component to use array of objects for optionsRefactor select component to use array of objects for options

Respect orderBy also in ->getOptions()

feat: add actions support to global search results

fix: remove serialization from global search action class

fix: remove unecessary overwritten property

chore: fix code style

expand and scroll to elements on validation errors

Make Repeater toggle the same way as Section

Update packages/forms/resources/js/components/select.js

Co-authored-by: Guilherme Saade saade@outlook.com.br

fix: Dropdown styling

create missing translations command

fully collapsed sidebar

npm run build

More generic translation for drag and drop repeater field & tooltips for the icons in repeater field

Improve dropdown structure

Fix dropdown list item hover background color

Update packages/support/src/Commands/CheckMissingTranslationsCommand.php

Co-authored-by: Dan Harrin git@danharrin.com

Update packages/support/src/Commands/CheckMissingTranslationsCommand.php

Co-authored-by: Dan Harrin git@danharrin.com

change hamburger config name

Co-authored-by: Dan Harrin git@danharrin.com

update button component to match changed config name

Created at 1 week ago
opened issue
Relationship query scopes are not being applied

Package

filament/tables

Package Version

v2.16.8

Laravel Version

v9.31

Livewire Version

No response

PHP Version

PHP 8.1

Problem description

When ordering a table column by a relationship, the relationship scopes are not applied and a Cardinality violation: 1242 Subquery returns more than 1 row exception is thrown.

Expected behavior

Sorting works as expected. No exception is thrown

Steps to reproduce


// the Models
class State extends Model
{
    use SoftDeletes;
}

class MyModel extends Model
{
    public function state(): HasOne
    {
        return $this->hasOne(State::class);
    }

    public function allStates(): HasMany
    {
        return $this->hasMany(State::class)->withTrashed();
    }
}

// the Filament Resource
class MyModelResource extends Resource
    // ...
    public static function table(Table $table): Table
    {
        return $table
            ->defaultSort('state.created_at', 'desc')
            ->columns([
                Tables\Columns\TextColumn::make('state.created_at')->sortable(),
                // ...
    }
}

### Reproduction repository

https://github.com/tiagof/filament-bug-reports/tree/bug/missing-scopes-in-relationship

### Relevant log output

_No response_
                                    
Created at 1 week ago
tiagof create branch bug/missing-scopes-in-relationship
Created at 1 week ago

Update composer.json

Merge pull request #2 from square-bit/fix/allow-form-with-relations

Fix/allow form with relations

Merge branch 'main' of github.com:square-bit/filament-fullcalendar

Revert "Update composer.json"

This reverts commit a5bf22b99ff06288babf7c24d6d75db5ea29317f.

revert composer

fix space bug

Merge branch 'main' of github.com:square-bit/filament-fullcalendar

Created at 2 weeks ago

Delete fullcalendar-widget.png:Zone.Identifier

Fixes unable to clone repo on Windows.

feat: save state

Add ability for custom modal titles and button labels

Update README.md

Update README.md

Update README.md

Update README.md

Update README.md

Update src/Widgets/Forms/CreateEventForm.php

Update src/Widgets/Forms/CreateEventForm.php

Update src/Widgets/Forms/EditEventForm.php

Update src/Widgets/Forms/EditEventForm.php

Update src/Widgets/Forms/EditEventForm.php

Update README.md

Update README.md

Update README.md

Update README.md

Update README.md

Update resources/views/components/create-event-modal.blade.php

Update resources/views/components/create-event-modal.blade.php

Created at 2 weeks ago
Allow event's model to have relationship

Hi @saade, happy to look into it if you/someone provides the bug report. Cheers

Created at 2 weeks ago

Revert "Update composer.json"

This reverts commit a5bf22b99ff06288babf7c24d6d75db5ea29317f.

revert composer

Created at 2 weeks ago

Update composer.json

Merge branch 'main' of github.com:square-bit/filament-fullcalendar

Created at 2 weeks ago
pull request closed
Fix/allow form with relations
Created at 2 weeks ago

done

Fix relationship saving

Update CanManageEvents.php

link the model to the edit form, when clicking and event

Merge branch 'main' into fix/allow-form-with-relations

Merge branch 'main' into fix/allow-form-with-relations

Merge pull request #2 from square-bit/fix/allow-form-with-relations

Fix/allow form with relations

Created at 2 weeks ago

done

Merge pull request #1 from square-bit/fix/wrong-permission-check

done

Merge branch 'main' into fix/allow-form-with-relations

Created at 2 weeks ago
pull request opened
Fix/allow form with relations
Created at 2 weeks ago

done

Merge pull request #1 from square-bit/fix/wrong-permission-check

done

Created at 2 weeks ago
pull request closed
done
Created at 2 weeks ago
pull request opened
done
Created at 2 weeks ago

Add View Modal and corresponding canView authorization.

update documentation

Avoids error when full-calendar timezone is 'local'

See https://fullcalendar.io/docs/timeZone

Merge pull request #46 from tiagof/feature/add-canView

Add View Modal and corresponding canView authorization.

Fix styling

Merge pull request #48 from tiagof/fix/local-timezone

Avoids error when full-calendar timezone is 'local'

Merge branch 'main' into fix/allow-form-with-relations

Created at 2 weeks ago
create branch
tiagof create branch improvement/trix-content
Created at 2 weeks ago

Refactor dropdown into component

Support action groups in notifications

Use version of Alpine Floating UI with transition support

Add Alpine Floating UI to support package script

Update FilamentServiceProvider.php

Update FilamentServiceProvider.php

Update FilamentServiceProvider.php

Require manual installation of Alpine Floating UI

Fix dropdown wire:key and placement

Fix user menu dropdown placement

Work on dropdown sizing

Use ring instead of border for dropdown

Use rem for width

Implement dropdown width

Compile assets

Remove dropdown close button translations

Merge branch '2.x' into extract-dropdown

feature: Combined relation manager and form

wip

Update edit-record.blade.php

Created at 2 weeks ago
Created at 3 weeks ago