Skip to content

Commit

Permalink
Spatial coverage HTML fix
Browse files Browse the repository at this point in the history
  • Loading branch information
robcalla committed Sep 21, 2018
1 parent b21174b commit f33a023
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Idra/src/main/java/it/eng/idra/utils/CommonUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ public static String extractSeoIdentifier(String title, String internalIdentifie
Matcher regexMatcher = regex.matcher(title1);
foundMatch = regexMatcher.find();
if(!foundMatch) {
return internalIdentifier;
return internalIdentifier+"-"+nodeID;
}

String seoId="";
Expand Down
2 changes: 1 addition & 1 deletion IdraPortal/src/main/webapp/metadata/DatasetDetail.html
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,7 @@ <h4 ng-show="contact.hasTelephoneValue!=''">{{contact.hasTelephoneValue}}</h4>

</td>
</tr>
<tr ng-show="dataset.spatialCoverage!=undefined">
<tr ng-show="dataset.spatialCoverage!=undefined && (dataset.spatialCoverage.geographicalName!='' || dataset.spatialCoverage.geometry!='')">
<td><span style="font-weight: bold;">Spatial Coverage:</span></td>
<td><span
ng-show="dataset.spatialCoverage.geographicalName!=''">{{dataset.spatialCoverage.geographicalName}}</span>
Expand Down

0 comments on commit f33a023

Please sign in to comment.