Skip to content

Commit db9eac8

Browse files
authored
Merge branch 'master' into fix/163_fix-project-search
2 parents 6de6233 + a553cfe commit db9eac8

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

js/src/projects.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ require('../../css/piklor.css');
216216
"requesttoken" : oc_requesttoken,
217217

218218
},
219-
url: OC.generateUrl('/ocs/v2.php/cloud/users/details?offset=0&search='),
219+
url: OC.generateUrl('/ocs/v2.php/cloud/users/details'),
220220
formatNoMatches: function() {
221221
return '';
222222
},
@@ -434,7 +434,7 @@ require('../../css/piklor.css');
434434

435435
});
436436

437-
$.ajax('/ocs/v2.php/cloud/users/details?offset=0&search=', {
437+
$.ajax(OC.generateUrl('/ocs/v2.php/cloud/users/details'), {
438438
dataType: "json",
439439
headers: {
440440
"requesttoken" : oc_requesttoken,

lib/Controller/AjaxController.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -456,6 +456,7 @@ public function addWorkInterval() {
456456
}
457457

458458
$this->workIntervalMapper->insert($wi);
459+
$running = $this->workIntervalMapper->findAllRunning($this->userId);
459460

460461
return new JSONResponse(["WorkIntervals" => json_decode(json_encode($running), true)]);
461462
}

0 commit comments

Comments
 (0)