Hi there,
I have been trying to use the AdvancedFilter module. However, when I set the field types in UserList_InitializeValues, the default field types that appear in the popup do not change.
I am currently set the UserList_InitializeValues in the preparation of the screen that calls the AdvancedFitler popup.
What am I missing?
Kind regards,Cole
Hi Cole,
From what I could see, the problem resides in the component itself.
The webblock that we have available (AdvancedFilter) receives a parameter of the type AdvancedFilterField Record List, that is never used.
In "AdvancedFilter" block we have a link redirecting to the popup "AdvancedFilterPopup" which uses the block "AdvancedFilter_Popup", responsible for the filtering itself.
Said block also receives a parameter of the type AdvancedFilterField Record List but, instead of being fed by the parameter that you're sending, it's fed by the "UserList_InitializeValues" action meant to be cloned.
Wrapping up, your filter options will always be the same, regardless of the parameters that you're sending.
Best regards,
Davide Résio