* Fix bug #50212.
This commit is contained in:
+1
-1
@@ -340,7 +340,7 @@ $filter->execution->story->cookie['storyModuleParam'] = 'int';
|
||||
$filter->execution->story->cookie['storyProductParam'] = 'int';
|
||||
$filter->execution->story->cookie['storyBranchParam'] = 'int';
|
||||
$filter->execution->story->cookie['executionStoryOrder'] = 'code';
|
||||
$filter->execution->export->cookie['checkedItem'] = 'reg::checked';
|
||||
$filter->execution->export->cookie['checkedItem'] = 'reg::paramValue';
|
||||
$filter->execution->kanban->cookie['taskToOpen'] = 'int';
|
||||
$filter->execution->all->cookie['showExecutionBatchEdit'] = 'int';
|
||||
$filter->execution->tree->cookie['showStory'] = 'int';
|
||||
|
||||
@@ -2936,7 +2936,7 @@ class execution extends control
|
||||
if($this->post->exportType == 'selected')
|
||||
{
|
||||
$checkedItem = $this->cookie->checkedItem;
|
||||
if(strpos(",$checkedItem,", ",{$execution->id},") === false) unset($executionStats[$i]);
|
||||
if(strpos(",$checkedItem,", ",pid{$execution->id},") === false) unset($executionStats[$i]);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -16,13 +16,6 @@ $(document).off('click','.batch-btn').on('click', '.batch-btn', function()
|
||||
{
|
||||
postAndLoadPage(url, form);
|
||||
}
|
||||
}).off('click', '#actionBar .export').on('click', '#actionBar .export', function()
|
||||
{
|
||||
const dtable = zui.DTable.query($('#table-execution-all'));
|
||||
const checkedList = dtable.$.getChecks();
|
||||
if(!checkedList.length) return;
|
||||
|
||||
$.cookie.set('checkedItem', checkedList, {expires:config.cookieLife, path:config.webRoot});
|
||||
});
|
||||
|
||||
const today = zui.formatDate(new Date(), 'yyyy-MM-dd');
|
||||
|
||||
Reference in New Issue
Block a user