mariano.matute
New Member
Solved: Create a link for a LIST with a filter parameters
Hello all.
I would like to create a dynamic link in a form footer.
I have a form read only, with the data of a dog, what I want is to create a link in the footer to open a list of the field trials that dog has participated. i.e. "index.php/lista-perros/list/6?trabajo_perro={perro_id}" where perro_id is 1 for example.
Then my idea was to call the list passing them a parameter of the dog_id. But the link is not working properly, because the list table is not filtered.
Someone has been able to do something like that?
I really appreciate your help
Thank you.
Mariano
I've solved the issue. I was using a wrong get value. I should use the "label" of the dog name and not the dog Id.
Hello all.
I would like to create a dynamic link in a form footer.
I have a form read only, with the data of a dog, what I want is to create a link in the footer to open a list of the field trials that dog has participated. i.e. "index.php/lista-perros/list/6?trabajo_perro={perro_id}" where perro_id is 1 for example.
Then my idea was to call the list passing them a parameter of the dog_id. But the link is not working properly, because the list table is not filtered.
Someone has been able to do something like that?
I really appreciate your help
Thank you.
Mariano
I've solved the issue. I was using a wrong get value. I should use the "label" of the dog name and not the dog Id.