Skip to content

Commit

Permalink
Merge branch 'refs/heads/hotfix/maximilian/filtres-export-data' into …
Browse files Browse the repository at this point in the history
…develop

# Conflicts:
#	CHANGELOG.md
#	opensilex-front/front/src/components/data/DataExportModal.vue
#	opensilex-front/front/src/components/geometry/MapView.vue
  • Loading branch information
Maximilian committed Apr 16, 2024
2 parents 66f92f3 + e780e7c commit 744c7d4
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<!-- TOC -->
* [Changelog](#changelog)
* [[1.2.4]](#124)
* * [Fixed or optimized](#fixed-or-optimized)
* [[1.2.3]](#123)
* [Highlight](#highlight)
* [Changes and new features](#changes-and-new-features)
Expand Down Expand Up @@ -83,6 +85,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.2.4]

### Fixed or optimized

- (!1212) Device filter no longer ignored during data export.

## [1.2.3]

> ⚠️ WARNING : upgrading to this new version require manual operations. Please
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@
<script lang="ts">
import Vue from "vue";
import { Component, Prop, Ref } from "vue-property-decorator";
import {DataSearchDTO} from "opensilex-core/model/dataSearchDTO";
@Component
export default class DataExportModal extends Vue {
Expand Down Expand Up @@ -99,10 +100,11 @@ export default class DataExportModal extends Vue {
String(today.getMonth() + 1).padStart(2, "0") +
String(today.getDate()).padStart(2, "0");
let exportDto = {
let exportDto: DataSearchDTO = {
start_date: this.filter.start_date,
end_date: this.filter.end_date,
targets: this.filter.scientificObjects,
devices: this.filter.devices,
experiments: this.filter.experiments,
variables: this.filter.variables,
provenances: this.filter.provenance ? [this.filter.provenance] : null,
Expand Down
2 changes: 1 addition & 1 deletion opensilex-front/front/src/components/geometry/MapView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -1829,7 +1829,7 @@ export default class MapView extends Vue {
}
downloadFeatures(values) {
this.$opensilex.showInfoToast(this.$i18n.t("MapView.export-info").toString());
if(this.exportedOS.length> 0){
Expand Down

0 comments on commit 744c7d4

Please sign in to comment.