Browse Source

fixed measurements is_removed

Josh 3 years ago
parent
commit
5cbe732f26
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Models/Pro.php

+ 1 - 1
app/Models/Pro.php

@@ -620,7 +620,7 @@ WHERE mcp_pro_id = :pro_id
         $start *= 1000;
         $end *= 1000;
 
-        $measurementsQuery = Measurement::where('is_active', true)
+        $measurementsQuery = Measurement::where('measurement.is_active', true)
             ->join('client', 'client.id', '=', 'measurement.client_id')
             ->whereNotNull('measurement.client_bdt_measurement_id')
             ->whereNotNull('measurement.ts')