diff --git a/src/webview/src/components/dltFilterAssistant.js b/src/webview/src/components/dltFilterAssistant.js index 497646d..6efbf31 100644 --- a/src/webview/src/components/dltFilterAssistant.js +++ b/src/webview/src/components/dltFilterAssistant.js @@ -20,6 +20,7 @@ import { triggerRestQueryDetails, objectShallowEq } from './../util'; /* todos - add manual trigger button for preview (or find better way to avoid reports constantly popping up) +- uri escape filter strings (to avoid problems with &,",...) - cache apply query rests (e.g. only on button press) - add way for reports to contain multiple filter - add hover/tooltip for filters showing the full object (e.g. tmpFb...) @@ -419,7 +420,7 @@ export default function DLTFilterAssistantDialog(props) { - source: '{dataSource}' + source:{dataSource ? dataSource.split('&').map((fra, index) =>
{index > 0 ? : null}{index > 0 ? '&' + fra : fra}
) : ''}