Merge pull request #25698 from ankush/fix_virtual_order_by

fix: recorder sorting with multi-col
This commit is contained in:
Ankush Menat 2024-03-28 13:36:42 +05:30 committed by GitHub
commit 141e082b39
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -43,6 +43,7 @@ class Recorder(Document):
requests = Recorder.get_filtered_requests(filters)[start : start + page_length]
if order_by_statment := order_by:
order_by_statment = order_by_statment.split(",")[0]
if "." in order_by_statment:
order_by_statment = order_by_statment.split(".")[1]