Serverside SearchBuilder might be broken

Serverside SearchBuilder might be broken

bagelsesamebagelsesame Posts: 5Questions: 0Answers: 0

Hi,

The context is I am trying to implement SearchBuilder with a custom backend written in Python/Django.

I am receiving an "Uncaught TypeError: this.s.serverData is undefined" coming from line 2520 of SearchBuilder/src/criteria.ts

The same thing is happening on Editor's demo page at https://editor.datatables.net/examples/extensions/searchBuilderTypes.html

To reproduce the error, click on "Add condition", than choose any column from the "Data" dropdown.

Is it possible that the last commit might be responsible?

Thank you

Replies

  • colincolin Posts: 15,240Questions: 1Answers: 2,599

    Thanks for letting us know, something definitely looks very wrong there. I've raised it internally (DD-2550 for my reference) and we'll report back here when there's an update.

    Cheers,

    Colin

  • allanallan Posts: 63,538Questions: 1Answers: 10,476 Site admin

    Hi,

    Just to add to Colin's thanks, mine as well for flagging this up.

    I've committed a fix which will be in the nightly shortly.

    Regards,
    Allan

Sign In or Register to comment.