jo-ka
Member
Hello,
I know I can Pre-Filter a list directly on it's settings. Usually I use the Pre-Filters to get the record from the logged in user only, like WHERE {user___id} = {$my->id}. This is ok, I know how to use it.
Now I need to filter the results based on user, but also from the selection made on another list.
For example, I have a list with online tests results, pre-filtered with {$my->id}, where are stored all the results from online tests. Each of these records are from multiple users for multiple tests.
So I have another list, where the user is going before, where I display the Test name, and the global results.
From here, I want to link the Test Name field to the results table, filtering the user ID, which is ok, but also the answers only from the test selected.
So I've made a custom link on the Test Name field like this:
index.php?option=com_fabrik&view=list&listid=41&rowid={#___c_quiz_id}
This takes me to the list, but doesn't filter the list with the test ID.
I don't know if this is the right approach (I believe not) , but the main idea it to have the ability to filter the list with {$my->id} and Quiz_Id from the first list link.
Is there any way to do this?
Thanks in advance.
I know I can Pre-Filter a list directly on it's settings. Usually I use the Pre-Filters to get the record from the logged in user only, like WHERE {user___id} = {$my->id}. This is ok, I know how to use it.
Now I need to filter the results based on user, but also from the selection made on another list.
For example, I have a list with online tests results, pre-filtered with {$my->id}, where are stored all the results from online tests. Each of these records are from multiple users for multiple tests.
So I have another list, where the user is going before, where I display the Test name, and the global results.
From here, I want to link the Test Name field to the results table, filtering the user ID, which is ok, but also the answers only from the test selected.
So I've made a custom link on the Test Name field like this:
index.php?option=com_fabrik&view=list&listid=41&rowid={#___c_quiz_id}
This takes me to the list, but doesn't filter the list with the test ID.
I don't know if this is the right approach (I believe not) , but the main idea it to have the ability to filter the list with {$my->id} and Quiz_Id from the first list link.
Is there any way to do this?
Thanks in advance.