[progress Communities] [progress Openedge Abl] Forum Post: Re: Jsdo Filtering: Nesting...

  • Thread starter Thread starter egarcia
  • Start date Start date
Status
Not open for further replies.
E

egarcia

Guest
Hello Peter, Thank you for reporting this issue. Did you find this issue working with Mobile / Telerik Platform or using the JSDO directly from Kendo UI? Yes, the issue happens with JSDO version 4.3.1 but not with version 4.3.0. This issue happens because when processing a nested filter, the field variable is not set. The intention of the code is to replace the field name with its origName if serialize-name was used. A simple fix is to change the following file in _convertToABLWhereString(): from if (tableRef._name) { to if (field && tableRef._name) { The code then would look like the following: if (field && tableRef._name) { // Use original field name instead of serialized name fieldInfo = tableRef._jsdo[tableRef._name]._fields[field.toLowerCase()]; if (fieldInfo && fieldInfo.origName) { field = fieldInfo.origName; } } I have logged a bug report for this issue. Thanks again, Edsel

Continue reading...
 
Status
Not open for further replies.
Back
Top