File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1141,24 +1141,8 @@ class DuckDBWasmService {
11411141 // Country data (GpGjoO) is now stored as numeric codes directly in the database
11421142 // No special handling needed - use standard query logic
11431143 if ( filters ) {
1144- // Remove self-filters to prevent charts from filtering themselves
1145- // This allows charts to show all their data while other filters still apply
11461144 const modifiedFilters = { ...filters } ;
11471145
1148- // Remove experience filter for experience question (ElR6d2)
1149- if ( questionId === 'ElR6d2' && modifiedFilters [ 'experience' ] ) {
1150- if ( import . meta. env . DEV ) console . log ( `Excluding experience self-filter for experience chart` ) ;
1151- delete modifiedFilters [ 'experience' ] ;
1152- }
1153-
1154- // Remove continent filter for country/map question (GpGjoO)
1155- // The continent filter uses country codes (GpGjoO), so when displaying the map
1156- // we need to exclude the continent filter to prevent self-filtering
1157- if ( questionId === 'GpGjoO' && modifiedFilters [ 'continent' ] ) {
1158- if ( import . meta. env . DEV ) console . log ( `Excluding continent self-filter for country map` ) ;
1159- delete modifiedFilters [ 'continent' ] ;
1160- }
1161-
11621146 const whereClause = await this . buildFilterWhereClause ( modifiedFilters ) ;
11631147
11641148 if ( questionTypes . isMultiSelect ) {
You can’t perform that action at this time.
0 commit comments