diff --git a/dashboard-ui/scripts/librarybrowser.js b/dashboard-ui/scripts/librarybrowser.js index 11579499c8..b232229fc0 100644 --- a/dashboard-ui/scripts/librarybrowser.js +++ b/dashboard-ui/scripts/librarybrowser.js @@ -433,9 +433,18 @@ html += '
'; + var name = item.Name; + + if (item.IndexNumber != null) { + name = item.IndexNumber + " - " + name; + } + if (item.ParentIndexNumber != null) { + name = item.ParentIndexNumber + "." + name; + } + if (!imgUrl && !options.showTitle) { html += "
"; - html += item.Name; + html += name; html += "
"; } @@ -451,7 +460,7 @@ if (options.showTitle) { html += "
"; - html += item.Name; + html += name; html += "
"; }