Skip to content

Commit e6d068b

Browse files
committed
Support model IDs in Summary Map search box
1 parent 3b8092e commit e6d068b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • gocam_connections/templates/gocam_connections

gocam_connections/templates/gocam_connections/index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,8 @@
382382
let matchCount = 0;
383383
modelNodes.map(node => {
384384
const title = node.title.toLowerCase();
385-
if (title.includes(searchText)) {
385+
if (title.includes(searchText) ||
386+
searchText.length == 16 && node.id == searchText) {
386387
addToCurrent([node.id]);
387388
matchCount++;
388389
}

0 commit comments

Comments
 (0)