mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
Enable freeform-select with fetched column values for filter values (#1697)
* Enable freeform-select with fetched column values for filter values - db migration to add filter_select_enabled - add freeform-multi option for Selectfield - modify formatFilter() function on query to accomodate filter-select * Fix js tests * Fix codeclimate issue * Changes based on comments * Add test for filter endpoint * Extract out renderFilterFormField function from render * Fix landscape issues
This commit is contained in:
@@ -8,7 +8,9 @@ import { shallow } from 'enzyme';
|
||||
import Filter from '../../../../javascripts/explorev2/components/Filter';
|
||||
|
||||
const defaultProps = {
|
||||
actions: {},
|
||||
actions: {
|
||||
fetchFilterValues: () => ({}),
|
||||
},
|
||||
filterColumnOpts: ['country_name'],
|
||||
filter: {
|
||||
id: 1,
|
||||
|
||||
Reference in New Issue
Block a user