From 78f46be07c7d063c9d957bfe4d580fcbeb28786f Mon Sep 17 00:00:00 2001 From: alexwl Date: Fri, 8 Mar 2019 17:21:00 +0300 Subject: Fix search results: add a package name and a module name of an identifier that doesn't have exact location info --- javascript/app/templates/search.hbs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'javascript/app') diff --git a/javascript/app/templates/search.hbs b/javascript/app/templates/search.hbs index 343ce68..222919a 100644 --- a/javascript/app/templates/search.hbs +++ b/javascript/app/templates/search.hbs @@ -33,6 +33,8 @@
{{#if identifier.locationInfo.modulePath}} Defined in {{identifier.locationInfo.packageId.name}}-{{identifier.locationInfo.packageId.version}} {{identifier.locationInfo.modulePath}} + {{else}} + Defined in {{identifier.locationInfo.packageId.name}}-{{identifier.locationInfo.packageId.version}} {{identifier.locationInfo.moduleName}} {{/if}}
{{{identifier.doc}}}
-- cgit v1.2.3