summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--indoteknik_custom/models/sj_tele.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/indoteknik_custom/models/sj_tele.py b/indoteknik_custom/models/sj_tele.py
index d3d7dfce..53ba26fc 100644
--- a/indoteknik_custom/models/sj_tele.py
+++ b/indoteknik_custom/models/sj_tele.py
@@ -28,7 +28,9 @@ class SjTele(models.Model):
# chat_id_testing = '-4920864331'
# api_testing = f'https://api.telegram.org/bot{bot_testing}'
+ # Select Data
data = self.search([('is_sent', '=', False)], order='create_date asc')
+
# Old
# data = self.search([], order='create_date asc')