Merge "charts: rename orano2 to oran-o2"
authorBin Yang <bin.yang@windriver.com>
Thu, 27 Oct 2022 05:50:07 +0000 (05:50 +0000)
committerGerrit Code Review <gerrit@o-ran-sc.org>
Thu, 27 Oct 2022 05:50:07 +0000 (05:50 +0000)
o2ims/adapter/alarm_repository.py

index 50f9bb2..e16c6ca 100644 (file)
@@ -95,7 +95,7 @@ class AlarmSubscriptionSqlAlchemyRepository(AlarmSubscriptionRepository):
         offset = kwargs.pop('start') if 'start' in kwargs else 0
 
         result = self.session.query(alarm_obj.AlarmSubscription).filter(
-            *args).order_by('alarmEventRecordId')
+            *args).order_by('alarmSubscriptionId')
         count = result.count()
         if size is not None and size != -1:
             return (count, result.limit(size).offset(offset))