Fixed job number conflict
This commit is contained in:
parent
a865aabf41
commit
a071d317f0
|
|
@ -29,7 +29,7 @@ class JobsController extends AppController {
|
||||||
if (!empty($this->data)) {
|
if (!empty($this->data)) {
|
||||||
$this->Job->create();
|
$this->Job->create();
|
||||||
|
|
||||||
$job_offset = 6137;
|
$job_offset = 6140;
|
||||||
|
|
||||||
$number_of_jobs = $this->Job->findCount();
|
$number_of_jobs = $this->Job->findCount();
|
||||||
$new_job_number = $job_offset + $number_of_jobs;
|
$new_job_number = $job_offset + $number_of_jobs;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue