File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff 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 ,
Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments