ifox
01/20/2022, 4:26 PMifox
01/20/2022, 4:29 PMadmin.php, and point it to a custom controller or the controller of the module you're on. On the button/link, you can set it's url to your route and add the id you need to it either as a path or query string, by using the $item variable that is available in the form view to get its ID24kappa
01/20/2022, 4:33 PMifox
01/20/2022, 8:01 PM24kappa
01/21/2022, 9:35 AM24kappa
01/21/2022, 10:51 AMifox
01/21/2022, 10:59 AM24kappa
01/21/2022, 11:07 AMBA7YA
01/21/2022, 12:41 PMifox
01/21/2022, 1:06 PMifox
01/21/2022, 1:08 PM$filters property in your module controller, and a convention to pass the list of options for that filter within indexDataifox
01/21/2022, 1:09 PMifox
01/21/2022, 1:10 PMBA7YA
01/21/2022, 1:10 PMBA7YA
01/21/2022, 1:11 PMHarings Rob
01/21/2022, 1:24 PM/*
* Filters mapping ('filterName' => 'filterColumn')
* You can associate items list to filters by having a filterNameList key in the indexData array
* For example, 'category' => 'category_id' and 'categoryList' => app(CategoryRepository::class)->listAll()
*/
protected $filters = [];
2. Implement the filter in the module repository: https://twill.io/docs/crud-modules/repositories.html (example is there.)BA7YA
01/21/2022, 1:25 PMBA7YA
01/21/2022, 2:06 PMifox
01/21/2022, 2:06 PMBA7YA
01/21/2022, 2:07 PMifox
01/21/2022, 2:07 PMifox
01/21/2022, 2:07 PMifox
01/21/2022, 2:07 PMifox
01/21/2022, 2:08 PMBA7YA
01/21/2022, 2:11 PM24kappa
01/21/2022, 3:09 PM24kappa
01/21/2022, 3:22 PM24kappa
01/21/2022, 3:22 PMkalle
01/21/2022, 4:16 PM@ me.24kappa
01/21/2022, 5:10 PM