Skip to content
Snippets Groups Projects
Commit 18157715 authored by Ole Anders's avatar Ole Anders
Browse files

Do not use pid for sotring

parent c9b9982a
No related branches found
No related tags found
No related merge requests found
......@@ -137,10 +137,11 @@ class BackendController extends ActionController {
$sortingData['next'][$prevUid] = '-' . $job->getUid();
$sortingData['prevUid'][$job->getUid()] = $prevUid;
}
$prevPrevUid = isset($sortingData['prev'][$job->getUid()]) ? -$prevUid : $job->getPid();
$prevPrevUid = isset($sortingData['prev'][$job->getUid()]) ? -$prevUid : 0;
$prevUid = $job->getUid();
}
}
$this->view->assign('sortingData', $sortingData);
// get all Locations
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment