|
@@ -192,7 +192,9 @@ namespace Hotline.Application.Exam.Service.ExamManages
|
|
|
var questionTable = new ExamRepository<Question>(_repository.UOW, _dataPermissionFilterBuilder, _serviceProvider).Queryable();
|
|
|
|
|
|
var queryable = questionTagTable.LeftJoin(questionTable, (t, q) => t.QuestionId == q.Id)
|
|
|
- .GroupBy((t, q) => new { t.TagId, q.QuestionType }).Select((t, q) => new TagQuestionViewResponse
|
|
|
+ .GroupBy((t, q) => new { t.TagId, q.QuestionType })
|
|
|
+ .OrderBy((t, q) => t.TagId)
|
|
|
+ .Select((t, q) => new TagQuestionViewResponse
|
|
|
{
|
|
|
TagId = t.TagId,
|
|
|
QuestionType = q.QuestionType,
|