Update modules/database/sql_db.py
Browse files
modules/database/sql_db.py
CHANGED
@@ -163,7 +163,8 @@ def get_recent_sessions(limit=10):
|
|
163 |
|
164 |
sessions = list(container.query_items(
|
165 |
query=query,
|
166 |
-
parameters=[{"name": "@limit", "value": limit}]
|
|
|
167 |
))
|
168 |
|
169 |
clean_sessions = []
|
|
|
163 |
|
164 |
sessions = list(container.query_items(
|
165 |
query=query,
|
166 |
+
parameters=[{"name": "@limit", "value": limit}],
|
167 |
+
enable_cross_partition_query=True # Agregar este parámetro
|
168 |
))
|
169 |
|
170 |
clean_sessions = []
|