I cannot remove unnesessary filter conditions

I cannot remove unnesessary filter conditions

maxkrokmaxkrok Posts: 2Questions: 1Answers: 1
edited February 2023 in Free community support

This is a piece of my SB code.
How actually make these conditions to be removed?

        searchBuilder: {
            depthLimit: 1,
            conditions: {
            string: {
                    '!=': null,
                    'starts': null,
                    '!starts': null,
                    'ends': null,
                    '!ends': null,
                    'null': null,
                    '!null': null,
                },
                date: {
                    '!=': null,
                    'starts': null,
                    '!starts': null,
                    'ends': null,
                    '!ends': null,
                    'null': null,
                    '!null': null,
                },
                num: {
                    '!=': null,
                    'starts': null,
                    '!starts': null,
                    'ends': null,
                    '!ends': null,
                    'null': null,
                    '!null': null,
                },
                array: {
                    '!=': null,
                    'starts': null,
                    '!starts': null,
                    'ends': null,
                    '!ends': null,
                    'null': null,
                    '!null': null,
                },
            },

With this code they are still available

This question has an accepted answers - jump to answer

Answers

  • maxkrokmaxkrok Posts: 2Questions: 1Answers: 1
    Answer ✓

    Resolved with columns.searchBuilderType: 'string' parameter

Sign In or Register to comment.