Skip to content

Commit

Permalink
Update to release v1.3.8 fixes #284
Browse files Browse the repository at this point in the history
  • Loading branch information
kartik-v committed Nov 15, 2018
1 parent e4c2fd5 commit 35b6766
Show file tree
Hide file tree
Showing 13 changed files with 20 additions and 13 deletions.
6 changes: 6 additions & 0 deletions CHANGE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
Change Log: `yii2-export`
=========================

## version 1.3.8

**Date:** _under development_

- (bug #284): Correct validation when `showColumnSelector` is `false`.

## version 1.3.7

**Date:** 10-Nov-2018
Expand Down
2 changes: 1 addition & 1 deletion src/ExportColumnAsset.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/**
* @copyright Copyright © Kartik Visweswaran, Krajee.com, 2015 - 2018
* @package yii2-export
* @version 1.3.7
* @version 1.3.8
*/

namespace kartik\export;
Expand Down
5 changes: 3 additions & 2 deletions src/ExportMenu.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* @package yii2-export
* @author Kartik Visweswaran <[email protected]>
* @copyright Copyright &copy; Kartik Visweswaran, Krajee.com, 2015 - 2018
* @version 1.3.7
* @version 1.3.8
*/

namespace kartik\export;
Expand Down Expand Up @@ -1224,7 +1224,8 @@ public function setVisibleColumns()
$columns = [];
foreach ($this->columns as $key => $column) {
$isActionColumn = $column instanceof ActionColumn;
$isNoExport = in_array($key, $this->noExportColumns) || !in_array($key, $this->selectedColumns);
$isNoExport = in_array($key, $this->noExportColumns) ||
($this->showColumnSelector && is_array($this->selectedColumns) && !in_array($key, $this->selectedColumns));
if ($isActionColumn && !$isNoExport) {
$this->noExportColumns[] = $key;
}
Expand Down
2 changes: 1 addition & 1 deletion src/ExportMenuAsset.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/**
* @copyright Copyright &copy; Kartik Visweswaran, Krajee.com, 2015 - 2018
* @package yii2-export
* @version 1.3.7
* @version 1.3.8
*/

namespace kartik\export;
Expand Down
2 changes: 1 addition & 1 deletion src/ExportWriterPdf.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/**
* @copyright Copyright &copy; Kartik Visweswaran, Krajee.com, 2015 - 2018
* @package yii2-export
* @version 1.3.7
* @version 1.3.8
*/

namespace kartik\export;
Expand Down
2 changes: 1 addition & 1 deletion src/assets/css/kv-export-columns.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @package yii2-export
* @author Kartik Visweswaran <[email protected]>
* @copyright Copyright &copy; Kartik Visweswaran, Krajee.com, 2015 - 2018
* @version 1.3.7
* @version 1.3.8
*
* Export Columns Selector Style Sheet
*
Expand Down
2 changes: 1 addition & 1 deletion src/assets/css/kv-export-columns.min.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @package yii2-export
* @author Kartik Visweswaran <[email protected]>
* @copyright Copyright &copy; Kartik Visweswaran, Krajee.com, 2015 - 2018
* @version 1.3.7
* @version 1.3.8
*
* Export Columns Selector Style Sheet
*
Expand Down
2 changes: 1 addition & 1 deletion src/assets/js/kv-export-columns.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @package yii2-export
* @author Kartik Visweswaran <[email protected]>
* @copyright Copyright &copy; Kartik Visweswaran, Krajee.com, 2015 - 2018
* @version 1.3.7
* @version 1.3.8
*
* Export Columns Selector Validation Module.
*
Expand Down
2 changes: 1 addition & 1 deletion src/assets/js/kv-export-columns.min.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @package yii2-export
* @author Kartik Visweswaran <[email protected]>
* @copyright Copyright &copy; Kartik Visweswaran, Krajee.com, 2015 - 2018
* @version 1.3.7
* @version 1.3.8
*
* Export Columns Selector Validation Module.
*
Expand Down
2 changes: 1 addition & 1 deletion src/assets/js/kv-export-data.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @package yii2-export
* @author Kartik Visweswaran <[email protected]>
* @copyright Copyright &copy; Kartik Visweswaran, Krajee.com, 2015 - 2018
* @version 1.3.7
* @version 1.3.8
*
* Export Data Validation Module.
*
Expand Down
2 changes: 1 addition & 1 deletion src/assets/js/kv-export-data.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/views/_columns.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* @package yii2-export
* @author Kartik Visweswaran <[email protected]>
* @copyright Copyright &copy; Kartik Visweswaran, Krajee.com, 2015 - 2018
* @version 1.3.7
* @version 1.3.8
*
* Column Selector View
*
Expand Down
2 changes: 1 addition & 1 deletion src/views/_view.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* @package yii2-export
* @author Kartik Visweswaran <[email protected]>
* @copyright Copyright &copy; Kartik Visweswaran, Krajee.com, 2015 - 2018
* @version 1.3.7
* @version 1.3.8
*
* Export Submission View
*
Expand Down

0 comments on commit 35b6766

Please sign in to comment.