feat: mioitem添加排序字段

This commit is contained in:
caoqianming 2025-05-06 10:54:09 +08:00
parent 962ca5b1be
commit db22300fd0
1 changed files with 1 additions and 0 deletions

View File

@ -254,6 +254,7 @@ class MIOItemViewSet(CustomListModelMixin, BulkCreateModelMixin, BulkDestroyMode
"test_date": ["isnull", "exact"]
}
ordering = ['create_time']
ordering_fields = ['create_time', 'test_date']
def add_info_for_list(self, data):