Skip to content

Facet names showing as "undefined"  #42

@vinull

Description

@vinull

New to the project, setting up the example a lot of the facet categories are showing as undefined. This appears to be the case because of the recent addition of the StripVirtcxml function:

PivotViewer.Utils.StripVirtcxml = function (value) {
    if (value.startsWith ('virtcxml:Facet'))
    return value.substr(14);
};

If the text doesn't start with virtcxml:Facet, nothing is returned. I fixed this by adding one line to the function:

PivotViewer.Utils.StripVirtcxml = function (value) {
    if (value.startsWith ('virtcxml:Facet'))
        return value.substr(14);
    else return value;
};

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions