From ce4db6467f0974857dd0b32f0a9f6a8327b3c642 Mon Sep 17 00:00:00 2001 From: UKDTOM Date: Sun, 14 Nov 2021 00:50:29 +0100 Subject: [PATCH] #365 changelog and WIP --- CHANGELOG.md | 2 ++ src/components/modules/ExportTools/Export.vue | 5 +---- src/components/modules/ExportTools/scripts/ethelper.js | 5 ----- 3 files changed, 3 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 849ad76..4abc150 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,8 @@ ## V0.3.13 * [#395 Show alert if we can't connect to plex.tv](https://github.com/WebTools-NG/WebTools-NG/issues/395) +* [#399 [RFE] ET: Consider splitting outfile into many](https://github.com/WebTools-NG/WebTools-NG/issues/399) +* [#396 [RFE] ET: Seperate xlsx and csv export](https://github.com/WebTools-NG/WebTools-NG/issues/396) ## V0.3.12 diff --git a/src/components/modules/ExportTools/Export.vue b/src/components/modules/ExportTools/Export.vue index 79b9b23..838b21f 100644 --- a/src/components/modules/ExportTools/Export.vue +++ b/src/components/modules/ExportTools/Export.vue @@ -276,12 +276,9 @@ etHelper.Settings.accessToken = this.$store.getters.getSelectedServerToken; etHelper.Settings.totalItems = await etHelper.getSectionSize(); this.itemEndNo = etHelper.Settings.totalItems; + etHelper.Settings.endItem = this.itemEndNo; this.sectionMaxItems = this.itemEndNo; this.$refs['startEnd'].show(); - - - // getMedia() - }, hideStartEnd: async function(){ // Hide StartEnd modal diff --git a/src/components/modules/ExportTools/scripts/ethelper.js b/src/components/modules/ExportTools/scripts/ethelper.js index 818050a..a9f29e6 100644 --- a/src/components/modules/ExportTools/scripts/ethelper.js +++ b/src/components/modules/ExportTools/scripts/ethelper.js @@ -690,10 +690,7 @@ const etHelper = new class ETHELPER { } } ++this.Settings.count; - console.log('Ged 8 counter: ' + this.Settings.count) - console.log('Ged 8-1 Max: ' + this.Settings.endItem) if ( this.Settings.count >= this.Settings.endItem) { - console.log('Ged 8-3 counter break') break; } } @@ -747,8 +744,6 @@ const etHelper = new class ETHELPER { await this.createOutFile(); // Now we need to find out how many calls to make this.Settings.call = await this.getLevelCall(); - // Get total size of the section - this.Settings.totalItems = await this.getSectionSize(); // Get items from PMS, and populate export files await this.populateExpFiles(); await this.closeOutFile();