Hi UI/UX Team,

I have faced $subject when fitting data using the ajax method.
An "IllegalArgumentException" was thoun in the back end, and a datatable
error alert was prompt from the front end when a filtering was triggered.

There was a mismatch in the expected uri format and the current uri format
given by the data table extended library.When comparing expected backend
call [1] with current backend call [2] there were two extra characters
included to the current uri.

This causes due to the latest change which is listed below.

Older version :

column
>
> .search(val ? val : '', true, false)
>
> .draw();
>
>
New version :

column
>             .search(val ? '^' + val + '$' : '', true, false)
>             .draw();



Any reason for this latest change ?

[1].  'endpoint?draw=2&start=0&length=16&type*=data'*
[2].  'endpoint?draw=2&start=0&length=16&type*=^data$'*

Thanks and Regards.
Kamidu Sachith Punchihewa
*Software Engineer*
WSO2, Inc.
lean . enterprise . middleware
Mobile : +94 (0) 770566749 <%2B94%20%280%29%20773%20451194>


Disclaimer: This communication may contain privileged or other confidential
information and is intended exclusively for the addressee/s. If you are not
the intended recipient/s, or believe that you may have received this
communication in error, please reply to the sender indicating that fact and
delete the copy you received and in addition, you should not print, copy,
retransmit, disseminate, or otherwise use the information contained in this
communication. Internet communications cannot be guaranteed to be timely,
secure, error or virus-free. The sender does not accept liability for any
errors or omissions.
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to