From 7294a36b6ecc86cb26337c14e0edba704776f34b Mon Sep 17 00:00:00 2001 From: Ben Parizek Date: Wed, 4 Sep 2019 04:45:15 -0400 Subject: [PATCH 1/2] Remove viewContext reference from migration - This introduced that was solved by adding a missing migration in Sprout Forms --- src/migrations/m190628_000000_fix_data_sources.php | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/migrations/m190628_000000_fix_data_sources.php b/src/migrations/m190628_000000_fix_data_sources.php index 4528f2a..7ba8e55 100644 --- a/src/migrations/m190628_000000_fix_data_sources.php +++ b/src/migrations/m190628_000000_fix_data_sources.php @@ -56,10 +56,6 @@ public function safeUp(): bool $this->update($this->dataSourcesTable, [ 'pluginHandle' => 'sprout-forms' ], ['id' => $dataSource['id']], [], false); - } else { - $this->update($this->dataSourcesTable, [ - 'viewContext' => 'sprout-forms' - ], ['id' => $dataSource['id']], [], false); } } else { // Let's default all to sprout reports @@ -67,10 +63,6 @@ public function safeUp(): bool $this->update($this->dataSourcesTable, [ 'pluginHandle' => 'sprout-reports' ], ['id' => $dataSource['id']], [], false); - } else { - $this->update($this->dataSourcesTable, [ - 'viewContext' => 'sprout-reports' - ], ['id' => $dataSource['id']], [], false); } } } From 5028d6cde64e6d4dc2c8c21bd9b51a41dae08f46 Mon Sep 17 00:00:00 2001 From: Ben Parizek Date: Wed, 4 Sep 2019 05:05:17 -0400 Subject: [PATCH 2/2] Sprout Base Reports v1.3.8 --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 652ddfa..8780089 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "name": "barrelstrength/sprout-base-reports", "description": "Common reports libraries for Sprout Plugins for Craft CMS", - "version": "1.3.7", + "version": "1.3.8", "type": "yii-module", "license": "proprietary", "authors": [