Skip to content
This repository was archived by the owner on Sep 10, 2021. It is now read-only.

Commit 15965b8

Browse files
author
Charles Ma
committed
ENH: refs #301 Fixed Select item page
1 parent 52d854f commit 15965b8

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

core/controllers/SearchController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ public function liveAction()
208208

209209
echo ', "value":"'.$itemDao->getName().'"';
210210

211-
if(isset($itemDao->count) && $itemDao->count == 1)
211+
if(!isset($itemDao->count) || $itemDao->count == 1)
212212
{
213213
echo ', "itemid":"'.$itemDao->getItemId().'"';
214214
}

modules/remoteprocessing/controllers/components/ExecutableComponent.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,10 @@ private function _createParametersMatrix($cmdOptions)
225225
{
226226
$totalLine = $totalLine * count($cmdOption['values']);
227227
}
228+
if($cmdOption['type'] == 'input')
229+
{
230+
$totalLine = $totalLine * count($cmdOption['item']);
231+
}
228232
}
229233

230234
$matrix = array();

0 commit comments

Comments
 (0)