Fixes of display in seconds
This commit is contained in:
@@ -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="row" ng-repeat="h in allHits">
|
||||||
<div class="col-xs-5 col-sm-3 album" >
|
<div class="col-xs-5 col-sm-3 album" >
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ angular.module('satbd.satellite.bar.views.search',[
|
|||||||
};
|
};
|
||||||
|
|
||||||
$scope.inSecond= function(bleveValue) {
|
$scope.inSecond= function(bleveValue) {
|
||||||
return bleveValue / 1e6;
|
return bleveValue / 1e9;
|
||||||
}
|
}
|
||||||
|
|
||||||
$scope.trustedFragment = function(f) {
|
$scope.trustedFragment = function(f) {
|
||||||
|
|||||||
Reference in New Issue
Block a user