Bladeren bron

Merge branch '20250522_diywebfr'

15313670163 4 dagen geleden
bovenliggende
commit
583fc12596
1 gewijzigde bestanden met toevoegingen van 2 en 2 verwijderingen
  1. 2 2
      app/JsonRpc/PublicRpcService.php

+ 2 - 2
app/JsonRpc/PublicRpcService.php

@@ -972,10 +972,10 @@ class PublicRpcService implements PublicRpcServiceInterface
     {
         $where = [];
         if (isset($data['template_class_id']) && !empty($data['template_class_id'])) {
-            $where['template_class_id'] = $data['template_class_id'];
+            $where['template_class.template_class_id'] = $data['template_class_id'];
         }
         if (isset($data['template_id']) && !empty($data['template_id'])) {
-            array_push($where, ['template_id', $data['template_id']]);
+            array_push($where, ['template.template_id', $data['template_id']]);
         }
         if (isset($data['sector_name']) && !empty($data['sector_name'])) {
             array_push($where, ['sector.sector_name', 'like', '%' . $data['sector_name'] . '%']);