amaannawab923 commented on code in PR #35343:
URL: https://github.com/apache/superset/pull/35343#discussion_r2459729616


##########
superset-frontend/plugins/plugin-chart-ag-grid-table/src/buildQuery.ts:
##########
@@ -292,6 +409,18 @@ const buildQuery: BuildQuery<TableChartFormData> = (
       }
     }
 
+    // Apply AG Grid filters from export (already in standard filter format)
+    if (
+      isDownloadQuery &&
+      Array.isArray(ownState.filters) &&
+      ownState.filters.length > 0
+    ) {
+      queryObject = {
+        ...queryObject,
+        filters: [...(queryObject.filters || []), ...ownState.filters],
+      };

Review Comment:
   How do we handle the complex filters in this case , wouldnt we need 
extras.where and extras.having for handling multiple condition filter scenario



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to