Reverted previous modified code fixing access permissions in lists

This commit is contained in:
Manuel Cillero 2017-09-18 17:55:57 +02:00
parent 6b9f1ad9d5
commit 6a9423006b
4 changed files with 18 additions and 5 deletions

View file

@ -39,6 +39,11 @@ function stormdok_list() {
$i = new stdClass();
$i->type = 'stormdok';
$params = $_GET;
if (isset($_SESSION['stormdok_list_filter']['organization_nid'])) {
$params['organization_nid'] = $_SESSION['stormdok_list_filter']['organization_nid'];
}
$header = array(
array(
'data' => ' ',
@ -71,7 +76,7 @@ function stormdok_list() {
'class' => 'storm_list_version',
),
array(
'data' => storm_icon_add_node($i, $_GET),
'data' => storm_icon_add_node($i, $params),
'class' => 'storm_list_operations',
),
);