How to use a parameter to change a resource table query?
I am working with :
An
I am trying to create a
The first step is filter the records of
To do that, i created a button in
And i used the
It works in the first load of the page, but when use the pagination return no records.
What it is the correct way to handle this? How can I use the $folder_id param in a static method?
FolderResource and AccessLinkResource.An
AccessLink belongs to an Folder. And Folderhave many AccessLinks.I am trying to create a
AccessLinkResource which show and create the records using the folder_id.The first step is filter the records of
AccessLinkResource table using the folder_id. To do that, i created a button in
FolderResource:And i used the
modifyQueryUsing in AccessLinktable:It works in the first load of the page, but when use the pagination return no records.
What it is the correct way to handle this? How can I use the $folder_id param in a static method?