Skip to content

Commit

Permalink
Merge pull request #318 from Breeding-Insight/feature/BI-1465
Browse files Browse the repository at this point in the history
 [BI-1465] 6.1 Observation Dataset Export File
  • Loading branch information
dmeidlin authored Jun 8, 2023
2 parents 7b3cf04 + eb5ab75 commit b08e389
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -190,8 +190,8 @@ export default class ExperimentObservationsDownloadButton extends Vue {
+ this.fileOptions.fileExtension
+ '&dataset='
+ this.fileOptions.dataset
+ '&environments='
+ this.fileOptions.environments
// + '&environments='
// + this.fileOptions.environments
+ '&includeTimestamps='
+ this.fileOptions.timestampsTrueFalseString(),
'_blank');
Expand Down
4 changes: 2 additions & 2 deletions src/components/experiments/ExperimentsObservationsTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
<b-table-column field="data.listDbId" sortable v-slot="props" :th-attrs="(column) => ({scope:'col'})">
<ExperimentObservationsDownloadButton
v-bind:modal-title="`Download ${props.row.data.trialName}`"
v-bind:trial-db-id="props.row.data.trialDbId"
v-bind:trial-db-id="BrAPIUtils.getBreedingInsightId(props.row.data.externalReferences, '/trials')"
v-on:show-error-notification="$emit('show-error-notification', $event)"
>
Download
Expand Down Expand Up @@ -84,7 +84,6 @@ import {PaginationQuery} from "@/breeding-insight/model/PaginationQuery";
import {Trial} from '@/breeding-insight/model/Trial'
import ExpandableTable from '@/components/tables/expandableTable/ExpandableTable.vue';
import {CallStack} from "@/breeding-insight/utils/CallStack";
import {BrAPIUtils} from "@/breeding-insight/utils/BrAPIUtils";
import {
ExperimentSort,
Sort,
Expand All @@ -93,6 +92,7 @@ import {
import {PaginationController} from "@/breeding-insight/model/view_models/PaginationController";
import {UPDATE_EXPERIMENT_SORT} from "@/store/sorting/mutation-types";
import ExperimentObservationsDownloadButton from "@/components/experiments/ExperimentObservationsDownloadButton.vue";
import {BrAPIUtils} from "@/breeding-insight/utils/BrAPIUtils";

@Component({
mixins: [validationMixin],
Expand Down

0 comments on commit b08e389

Please sign in to comment.