Hi, having an issue again... sorry, also for the lengthy post...
Studied Wiki and, thinking I can't be the only one, I've also tried searching the forum, but can't find a solution.
Turned on debugging to see if I can find where a query might go "wrong", but not knowing where exactly to look, it ended up being TMI...
In use: J! 3.9, F 3.9 (Github from about a week ago), PHP 7.2.
For my lists, filters above them are supposed to show only list/table/recorded data only, and settings globally as well as for list and elements are accordingly.
This works perfectly fine for single selects incl 'databasejoin', but not for multiselect 'databasejoin' elements where the data is stored in a '_repeat_' table.
For example, I'm having a multiselect 'Brands' DB join element, where the joined table has appr 500 rows (global 'Filter List Max' set to 1000), but only a fraction is recorded in the (repeat) table. Of course, I want to show only recorded data in the filter, but no matter what I choose for filter settings for the element
- Filter type: (single) dropdown, or checkbox, or multi-select list
- Filter data: global, or recorded, or all
it always gives me the very same odd filter options. It seems as if the filter has a mind of its own since it doesn't react to those changes of settings; even 'all' won't show all.
The list is a copy of another one ("original") but with specific pre-filters in the copy list while the original has no pre-filter. Eventually menu items for the copy list each have another pre-filter added. Of course, copy list results are correctly different from the original, but the options in the filter for the multi 'databasejoin' do not vary at all from list to list, they're always the same, also in original and copy, although they shouldn't be. Haven't checked every option but it seems the filter options are as data recorded in the original list - also in copy list, regardless of pre-filters there.
And again, setting everything explicitly to "show all" for filters doesn't change anything anywhere, either.
By the way, ordering the filter options by 'label' or 'value' also both doesn't give expected results, respectively... the order is different for either setting but not alphabetically when set to label nor by ID when set to value.
And all of this is true both in the frontend and backend.
Am I doing something wrong? Or is this a limitation of Fabrik?
I'm attaching screenshots, just in case.
Hope I described it ok. Thanks for a heads-up!
Studied Wiki and, thinking I can't be the only one, I've also tried searching the forum, but can't find a solution.
Turned on debugging to see if I can find where a query might go "wrong", but not knowing where exactly to look, it ended up being TMI...
In use: J! 3.9, F 3.9 (Github from about a week ago), PHP 7.2.
For my lists, filters above them are supposed to show only list/table/recorded data only, and settings globally as well as for list and elements are accordingly.
This works perfectly fine for single selects incl 'databasejoin', but not for multiselect 'databasejoin' elements where the data is stored in a '_repeat_' table.
For example, I'm having a multiselect 'Brands' DB join element, where the joined table has appr 500 rows (global 'Filter List Max' set to 1000), but only a fraction is recorded in the (repeat) table. Of course, I want to show only recorded data in the filter, but no matter what I choose for filter settings for the element
- Filter type: (single) dropdown, or checkbox, or multi-select list
- Filter data: global, or recorded, or all
it always gives me the very same odd filter options. It seems as if the filter has a mind of its own since it doesn't react to those changes of settings; even 'all' won't show all.
The list is a copy of another one ("original") but with specific pre-filters in the copy list while the original has no pre-filter. Eventually menu items for the copy list each have another pre-filter added. Of course, copy list results are correctly different from the original, but the options in the filter for the multi 'databasejoin' do not vary at all from list to list, they're always the same, also in original and copy, although they shouldn't be. Haven't checked every option but it seems the filter options are as data recorded in the original list - also in copy list, regardless of pre-filters there.
And again, setting everything explicitly to "show all" for filters doesn't change anything anywhere, either.
By the way, ordering the filter options by 'label' or 'value' also both doesn't give expected results, respectively... the order is different for either setting but not alphabetically when set to label nor by ID when set to value.
And all of this is true both in the frontend and backend.
Am I doing something wrong? Or is this a limitation of Fabrik?
I'm attaching screenshots, just in case.
Hope I described it ok. Thanks for a heads-up!