Error when sorting screening number
It happens in PRC.
'<' not supported between instances of 'str' and 'int'
Traceback (most recent call last):
File "/usr/lib/smasch/web/api_views/subject.py", line 444, in subjects
ordered_subjects = get_subjects_order(filtered_subjects, order_column, order_dir, column_filters=dict(filters))
File "/usr/lib/smasch/web/api_views/subject.py", line 213, in get_subjects_order
reverse=order_direction == '-')
TypeError: '<' not supported between instances of 'str' and 'int'
ERROR 2022-10-10 07:18:46,530 view_utils 32131 140146275432256 When handling POST request for url '/api/subjects/GENERIC' exception occurred
Traceback (most recent call last):
File "/usr/lib/smasch/web/api_views/subject.py", line 444, in subjects
ordered_subjects = get_subjects_order(filtered_subjects, order_column, order_dir, column_filters=dict(filters))
File "/usr/lib/smasch/web/api_views/subject.py", line 213, in get_subjects_order
reverse=order_direction == '-')
TypeError: '<' not supported between instances of 'str' and 'int'
ERROR 2022-10-10 07:18:46,532 log 32131 140146275432256 Internal Server Error: /api/subjects/GENERIC