VOI
Member
Hi,
I would like to filter for the rows in a list with no entry in a databasejoin element.With the following set-up of the databasejoin element I cant get this to work - nor with list filters neither with advanced search.
The databasejoin element is linke to the 'jos_users' table using the 'id' column as value.
Its relevant settings are:
Value of 'Please select' option: 0
Label of 'Please select' option: Please Select
Show please select: Yes
List settings - Show in List: Yes
Filters - Filter type: Dropdown
When selecting "Please Select" from the dropdown of the list filter or within advanced search ALL rows in the list are displayed - those with entries in the databasejoin element and those without.
Using fabrikdebug and checking the SQL statement within "list GetData" I observed that if selecting "Please Select" no WHERE clause is created.
Selecting any other entry within the dropdown the filter is working just fine.
Would should I do to give the user the ability to filter for those rows with the value '0' in the databasejoin element?
Chris
I would like to filter for the rows in a list with no entry in a databasejoin element.With the following set-up of the databasejoin element I cant get this to work - nor with list filters neither with advanced search.
The databasejoin element is linke to the 'jos_users' table using the 'id' column as value.
Its relevant settings are:
Value of 'Please select' option: 0
Label of 'Please select' option: Please Select
Show please select: Yes
List settings - Show in List: Yes
Filters - Filter type: Dropdown
When selecting "Please Select" from the dropdown of the list filter or within advanced search ALL rows in the list are displayed - those with entries in the databasejoin element and those without.
Using fabrikdebug and checking the SQL statement within "list GetData" I observed that if selecting "Please Select" no WHERE clause is created.
Selecting any other entry within the dropdown the filter is working just fine.
Would should I do to give the user the ability to filter for those rows with the value '0' in the databasejoin element?
Chris