Commit 4e297a20 authored by Kostas G's avatar Kostas G

comment school_ids

parent fbebb3f0
......@@ -2762,7 +2762,7 @@ public function FindCoursesPerSchoolGel(Request $request)
if ($user) {
$schoolid = $user->init->value;
//hard
$schoolid = 361;
//$schoolid = 361;
$schools = $this->entityTypeManager->getStorage('gel_school')->loadByProperties(array('id' => $schoolid));
$school = reset($schools);
if (!$school) {
......@@ -3130,7 +3130,7 @@ public function getStudentPerSchoolGel(Request $request, $classId)
if ($user) {
$gelId = $user->init->value;
//hard
$gelId = 361;
//$gelId = 361;
//$this->logger->warning($gelId."kvdikos sxoleiou".$classId);
$schools = $this->entityTypeManager->getStorage('gel_school')->loadByProperties(array('id' => $gelId));
$school = reset($schools);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment