Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Search doesn't work when configuration is used to map display names #300

Closed
rashley-iqt opened this issue May 9, 2019 · 1 comment
Closed
Assignees

Comments

@rashley-iqt
Copy link
Member

Description

Describe your issue here.

Environment

  • 0.2.x and 0.3.x
  • all

Steps to reproduce

  1. choose the "Poseidon Network" datasource
  2. search for a valid "VLAN" value

Expected results

the items with the designated VLAN should be highlighted

Actual results

search ignores the entire field

@rashley-iqt
Copy link
Member Author

This happens because when building the search index CRviz flattens the dataset. During this step a mapping is made based on displayName. It should be mapped on path.

rashley-iqt added a commit to rashley-iqt/CRviz that referenced this issue May 9, 2019
When flattening the dataset for indexing map a field's displayName
to its value using the path array rather than using the displayName.
This handles cases where the displayName is being used to actually
change the name to something semantically meaningfulrather than as
a way to alias dot notation.
Fixes IQTLabs#300.
@rashley-iqt rashley-iqt self-assigned this May 9, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant