Skip to content

Commit 460a350

Browse files
committed
set filter inthe link
1 parent 3a1df68 commit 460a350

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

resources/js/Pages/Collection/Components/CollectionNav.vue

+8-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,14 @@
88
>Documents</NavButton>
99

1010
<a
11-
name="filament.admin.resources.events.index"
12-
:href="route('filament.admin.resources.events.index')"
11+
name="`filament.admin.resources.events.index"
12+
:href="route('filament.admin.resources.events.index', {
13+
tableFilters: {
14+
collection_id: {
15+
value: collection.id
16+
}
17+
}
18+
})"
1319
>Events</a>
1420
</div>
1521

0 commit comments

Comments
 (0)