Skip to content

Commit

Permalink
Expermineting to drag results
Browse files Browse the repository at this point in the history
  • Loading branch information
PatrikBuetler committed Jun 18, 2024
1 parent 197b8f2 commit f3b978a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions api/ui/results.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,11 @@ public function get() {
case 'up':
$system = new System($this->get['systemId']);
$arr = $system->getResultsAll();
echo $arr;
$jsonJob = json_decode($arr, true);
foreach ($jsonJob as $job) {
echo gettype($job) . "<br>";
// $job[0] should be ID
foreach ($job as $element) {
echo gettype($element) . "<br>";
echo 'Element: ' . $element. "<br>";
Expand Down

0 comments on commit f3b978a

Please sign in to comment.