F
Filamentβ€’3mo ago
jepewsykes

custom field appends error when sum using summariz

its working fine if im no Summarizers sum on textcolumn
No description
No description
No description
2 Replies
Tieme
Tiemeβ€’3mo ago
i think you need a query for that. Summarize does a query to the database, that is why it is not working. https://filamentphp.com/docs/3.x/tables/summaries#scoping-the-dataset ->query(fn (Builder $query) => $query->where('is_published', true))
jepewsykes
jepewsykesβ€’3mo ago
thx bro u saved me πŸ˜‰