Skip to content

Commit

Permalink
Merge pull request #1015 from HDRUK/preprod
Browse files Browse the repository at this point in the history
SUPP-1395: GAT Api Release - v4.0.3
  • Loading branch information
ChandraChintakindi authored Apr 18, 2023
2 parents b744961 + 682f589 commit c3db813
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Chart.yaml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v4.0.2
v4.0.3
2 changes: 1 addition & 1 deletion src/resources/collections/collections.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ export default class CollectionsService {
}
}

let relatedObject = { ...data[0], updated: Date.parse(updated) };
let relatedObject = { ...data[0], updated: new Date(Date.parse(updated)).toISOString() };
resolve(relatedObject);
});
}
Expand Down
2 changes: 1 addition & 1 deletion src/resources/search/search.repository.js
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ export async function getObjectResult(type, searchAll, searchQuery, startIndex,
'datasetfields.metadataquality.weighted_error_percent': 1,
'datasetfields.metadataquality.weighted_completeness_percent': 1,

latestUpdate: '$timestamps.updated',
latestUpdate: '$updatedAt',
relatedresources: {
$add: [
{
Expand Down

0 comments on commit c3db813

Please sign in to comment.