Skip to content

Commit

Permalink
Update search box to use track keys instead of labels
Browse files Browse the repository at this point in the history
  • Loading branch information
cmdcolin committed Jul 13, 2018
1 parent 40ad937 commit 5bc03cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/JBrowse/View/Dialog/Search.js
Expand Up @@ -129,7 +129,7 @@ function (
locstring: Util.assembleLocString(elt.multipleLocations[j]),
location: elt.multipleLocations[j],
label: elt.name,
description: elt.multipleLocations[j].tracks[0].label,
description: this.browser.trackConfigsByName[elt.multipleLocations[j].tracks[0].label].key,
tracks: elt.multipleLocations[j].tracks[0]
});
}
Expand All @@ -139,7 +139,7 @@ function (
locstring: Util.assembleLocString(elt.location),
location: elt.location,
label: elt.location.objectName,
description: elt.location.tracks[0].label,
description: this.browser.trackConfigsByName[elt.location.tracks[0].label].key,
tracks: elt.location.tracks[0]
});
}
Expand Down

0 comments on commit 5bc03cb

Please sign in to comment.