Stevebenson223
Member
Hi
I'm trying to filter multiple lists using a single search form.
I found this old forum thread which I've followed but it's not working correctly: https://fabrikar.com/forums/index.p...-lists-simultaneously-in-a-single-page.36058/
The search form is a standalone Fabrik form, (set up not to save to database) with a redirect plugin with this in the "jump page" section:
index.php?option=com_content&view=article&id=2&Itemid=118¶m1={person_search___ap_person_search_raw}
(where this form element is a databasejoin linking to a table of people's names.)
The article which displays the page has this:
{fabrik view=form id=9} (the search form)
{fabrik view=list id=5 ap_all_productions_3_repeat___ap_crew_member=[param1] } (first list)
{fabrik view=list id=6 ap_all_productions_4_repeat___ap_actor=[param1] } (second list)
The search form dropdown correctly displays a list of all the names in the table but I've got two problems:
1) When I select a name I get this error message:
"{"msg":"","url":"\/productions\/index.php?option=com_content&view=article&id=2&Itemid=118¶m1=1&isMambot=1","baseRedirect":false,"rowid":"","suppressMsg":true,"redirect_how":"samepage","width":300,"height":300,"x_offset":0,"y_offset":0,"title":"","reset_form":true}
I don't understand why "param1" has been mangled like this. However, the =1 is the correct id of the person selected.
If I manually type in the correct url (e.g. index.php?option=com_content&view=article&id=2&Itemid=118¶m1=1) the first list is correctly filtered.
2) Although the first list can be displayed correctly (if manually typed as above), the second list is not being correctly filtered. As the list filter is enabled, I can see that the correct name is appearing in the list filter but no filtering is taking place.
Any ideas anyone?
I'm trying to filter multiple lists using a single search form.
I found this old forum thread which I've followed but it's not working correctly: https://fabrikar.com/forums/index.p...-lists-simultaneously-in-a-single-page.36058/
The search form is a standalone Fabrik form, (set up not to save to database) with a redirect plugin with this in the "jump page" section:
index.php?option=com_content&view=article&id=2&Itemid=118¶m1={person_search___ap_person_search_raw}
(where this form element is a databasejoin linking to a table of people's names.)
The article which displays the page has this:
{fabrik view=form id=9} (the search form)
{fabrik view=list id=5 ap_all_productions_3_repeat___ap_crew_member=[param1] } (first list)
{fabrik view=list id=6 ap_all_productions_4_repeat___ap_actor=[param1] } (second list)
The search form dropdown correctly displays a list of all the names in the table but I've got two problems:
1) When I select a name I get this error message:
"{"msg":"","url":"\/productions\/index.php?option=com_content&view=article&id=2&Itemid=118¶m1=1&isMambot=1","baseRedirect":false,"rowid":"","suppressMsg":true,"redirect_how":"samepage","width":300,"height":300,"x_offset":0,"y_offset":0,"title":"","reset_form":true}
I don't understand why "param1" has been mangled like this. However, the =1 is the correct id of the person selected.
If I manually type in the correct url (e.g. index.php?option=com_content&view=article&id=2&Itemid=118¶m1=1) the first list is correctly filtered.
2) Although the first list can be displayed correctly (if manually typed as above), the second list is not being correctly filtered. As the list filter is enabled, I can see that the correct name is appearing in the list filter but no filtering is taking place.
Any ideas anyone?