ru.coon 2.6.13 → 2.6.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ # Version 2.6.14, [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/2fa5952910e2d64f357d1c17486ab785686f3cc2)
2
+ * ## Fixes
3
+ * <span style='color:red'> HT-8113 synchronization of fileName in ExportReportDataToFilePlagin</span> ([2dee16], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/2dee167031e2cf5071092a81b437d4748513de30))
4
+
5
+ * update: CHANGELOG.md ([122574], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/12257435ce3081dc5641232b789cfa8b2b188e82))
6
+
1
7
  # Version 2.6.13, [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/b546bb7b481a9dbc4b408c99b9ce158b676a15fa)
2
8
  * ## Fixes
3
9
  * <span style='color:red'> BFL-11558 ExportReportDataToFilePlugin date format</span> ([109998], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/109998bd10e4fd67d98b88784c008f56c5e965c8))
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "name": "ru.coon"
5
5
  },
6
6
  "description": "",
7
- "version": "2.6.13",
7
+ "version": "2.6.14",
8
8
  "repository": {
9
9
  "type": "git",
10
10
  "url": "git+http://gitlab-dbr.sigma-it.local/dbr/ru.coon"
@@ -34,15 +34,15 @@ Ext.define('Coon.report.plugin.grid.ExportReportDataToFilePlugin', {
34
34
  handler: Ext.bind(this.handler, this),
35
35
  });
36
36
  }
37
+ this.fileName = this.config.reportFileName || this.report.reportId || 'defaultReportName';
38
+ const dateFormat = this.dateFormat || this.defaultDateFormat;
39
+ const appendDateToFileName = Ext.isBoolean(this.config.appendDateToFileName) ? this.config.appendDateToFileName : true;
40
+ if (appendDateToFileName) {
41
+ this.fileName += '_';
42
+ this.fileName += Ext.Date.format(new Date(), dateFormat);
43
+ }
37
44
  }, this);
38
45
  this.printPdfCommand = Ext.create('command.GetPdfReportDataCommand', {useRawFilterParams: this.getConfig('addToSearchButton')});
39
- this.fileName = this.config.reportFileName || this.report.reportId || 'defaultReportName';
40
- const dateFormat = this.dateFormat || this.defaultDateFormat;
41
- const appendDateToFileName = Ext.isBoolean(this.config.appendDateToFileName) ? this.config.appendDateToFileName : true;
42
- if (appendDateToFileName) {
43
- this.fileName += '_';
44
- this.fileName += Ext.Date.format(new Date(), dateFormat);
45
- }
46
46
  },
47
47
  callExportByType() {
48
48
  switch (this.config.exportFileFormat) {
package/src/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  Ext.define('Coon.version', {
2
2
  singleton: true,
3
- number: '2.6.13',
3
+ number: '2.6.14',
4
4
  });