Skip to content

Commit

Permalink
Merge pull request #997 from rfcx/develop
Browse files Browse the repository at this point in the history
Make v3.0.54
  • Loading branch information
rassokhina-e authored Jun 3, 2022
2 parents 9644f42 + 29992dd commit f1742db
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,19 @@
# Arbimon Release Notes

## v3.0.54 - May XX, 2022

Resolved issues:

- #991 Fixed an issue with export recordings tags

## v3.0.53 - May 17, 2022

Resolved issues:

- Delete legacy part of the ingest endpoint which has been syncing GuardianSites
- Show error and rollback action if user role assignment is failed on Core API side
- #933 Use moment timezone instead of convert_tz to get local datetime
- - Fixed the issue with blank ROI images which appearing when the user opened the cluster Grid View
- Fixed the issue with blank ROI images which appearing when the user opened the cluster Grid View

## v3.0.52 - May 13, 2022

Expand Down
2 changes: 1 addition & 1 deletion app/model/projects.js
Original file line number Diff line number Diff line change
Expand Up @@ -803,7 +803,7 @@ var Projects = {
body: JSON.stringify(body)
}
const result = await rp(options)
if (result.statusCode !== 201) {
if (result.statusCode !== 200) {
console.error(result.body)
throw new Error(result.body)
}
Expand Down
3 changes: 2 additions & 1 deletion app/model/recordings.js
Original file line number Diff line number Diff line change
Expand Up @@ -1742,7 +1742,8 @@ var Recordings = {
promises.push(models.tags.getFor({id:projection_parameters.tag}).then(function(tags){
tags.forEach(function(tag, idx){
var prtid = "p_RT_" + idx;
summaryBuilders[c].addProjection("(SELECT COUNT(*) FROM recording_tags AS " + prtid + " WHERE r.recording_id = " + prtid + ".recording_id AND " + prtid + ".tag_id = " + dbpool.escape(tag.id)+ " ) AS " + dbpool.escapeId("tag<" + tag.tag + ">"));
const tagQuery = `(SELECT COUNT(*) FROM recording_tags AS ${prtid} WHERE r.recording_id = ${prtid}.recording_id AND ${prtid}.tag_id = ${tag.tag_id}) AS ${dbpool.escapeId('tag<' + tag.tag + '>')}`
summaryBuilders[c].addProjection(tagQuery);
});
}));
}
Expand Down

0 comments on commit f1742db

Please sign in to comment.