liming %!s(int64=4) %!d(string=hai) anos
pai
achega
fe82f123f5
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      app/service/tGovernmentStatistics.js

+ 3 - 0
app/service/tGovernmentStatistics.js

@@ -2447,6 +2447,9 @@ class TGovernmentStatisticsService extends CrudService {
 
                 }
             },
+            {
+                $sort: {success_probability:-1}
+            },
             {
                 $skip: Number.parseInt(skip),
             },