Fixes of display in seconds

This commit is contained in:
2016-02-15 18:37:56 +01:00
parent e9e1adf089
commit e5fa48e84a
2 changed files with 2 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
<h3 class="text-center"> Votre recherche '{{terms}}' à donné {{response.total_hits}} résultats en {{inSecond(response.took)}} s</h3>
<h3 class="text-center"> Votre recherche '{{terms}}' à donné {{response.total_hits}} résultats en {{round4Dec(inSecond(response.took))}} s</h3>
<div class="row" ng-repeat="h in allHits">
<div class="col-xs-5 col-sm-3 album" >

View File

@@ -43,7 +43,7 @@ angular.module('satbd.satellite.bar.views.search',[
};
$scope.inSecond= function(bleveValue) {
return bleveValue / 1e6;
return bleveValue / 1e9;
}
$scope.trustedFragment = function(f) {