8000 Guid values in $filter are treated as properties instead of literal values · Issue #7 · jordimontana82/fake-xrm-easy-js · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Guid values in $filter are treated as properties instead of literal values #7
Open
@jordimontana82

Description

@jordimontana82

When filtering by Guid, literal.value is undefined, since is not interpreted as a literal value by the odata parser

Ex:
emails?$select=*&$filter=_regardingobjectid_value eq 2289062e-d689-2292-51d0-d85ce235a927

Entity.prototype.satisfiesFilterEq = function (filter) {
    var property = this.getFilterProperty(filter);
    var literal = this.getFilterLiteral(filter);
    return this.attributes[property.name] === literal.value;
};

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0