Commit 45effd5535bde4f0d6243a405a0e6bc55ef3edf6

Authored by Hacene SI HADJ MOHAND
1 parent ef1d608b
Exists in 6728

correcting all indexes

Showing 1 changed file with 8 additions and 4 deletions   Show diff stats
src/InputOutput/IHMImpl/Tools/IHMParamManagerClass.php
... ... @@ -658,9 +658,11 @@ class IHMParamManagerClass
658 658 $paramInfo = $this->addExistingParam('table_indexes', $paramsData, $template_args, $tableLink);
659 659 else
660 660 $paramInfo = $this->addExistingParam('table_range', $paramsData, $template_args, $tableLink);
661   - if ($dim2_index != '*') {
  661 + if ($dim2_index != '*' && $processType1 != "all") {
662 662 $paramInfo['indexes'][] = $dim2_index;
663   - }
  663 + }else{
  664 + $paramInfo['indexes'][] = "[".$dim1_index.",".$dim2_index."]";
  665 + }
664 666 }
665 667 else if ($dim2_is_range) {
666 668 $template_args = array(
... ... @@ -678,9 +680,11 @@ class IHMParamManagerClass
678 680 $paramInfo = $this->addExistingParam('table_indexes', $paramsData, $template_args, $tableLink);
679 681 else
680 682 $paramInfo = $this->addExistingParam('table_range', $paramsData, $template_args, $tableLink);
681   - if ($dim1_index != '*') {
  683 + if ($dim1_index != '*' && $processType2 != "all") {
682 684 $paramInfo['indexes'][] = $dim1_index;
683   - }
  685 + }else{
  686 + $paramInfo['indexes'][] = "[".$dim1_index.",".$dim2_index."]";
  687 + }
684 688 }
685 689 else if (($dim1_index != '*') && ($dim2_index != '*')) {
686 690 $paramInfo['indexes'][] = "[".$dim1_index.",".$dim2_index."]";
... ...