Skip to content

Commit e27ff2c

Browse files
committed
reorder fields by relevance
1 parent 26355ff commit e27ff2c

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

src/StackApis.ServiceModel/StackOverflowQuery.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ namespace StackApis.ServiceModel
55
{
66
[Route("/questions")]
77
[AutoQueryViewer(
8-
Title = "Search StackOverflow Questions", Description = "Search for ServiceStack Questions on StackOverflow", IconUrl = "/Content/app/stacks-white-75.png",
8+
Title = "Explore StackOverflow Questions", Description = "Find ServiceStack Questions on StackOverflow", IconUrl = "/Content/app/stacks-white-75.png",
99
DefaultSearchField = "Title", DefaultSearchType = "Contains", DefaultSearchText = "ServiceStack")]
1010
public class StackOverflowQuery : QueryBase<Question>
1111
{

src/StackApis.ServiceModel/Types/StackOverflowModel.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,17 @@ public class Question
1919
[Alias("Id")]
2020
public int QuestionId { get; set; }
2121

22-
public string[] Tags { get; set; }
23-
public User Owner { get; set; }
24-
public bool IsAnswered { get; set; }
22+
public string Title { get; set; }
23+
public int Score { get; set; }
2524
public int ViewCount { get; set; }
25+
public bool IsAnswered { get; set; }
2626
public int AnswerCount { get; set; }
27-
public int Score { get; set; }
27+
public string Link { get; set; }
28+
public string[] Tags { get; set; }
29+
public User Owner { get; set; }
2830
public int LastActivityDate { get; set; }
2931
public int CreationDate { get; set; }
3032
public int LastEditDate { get; set; }
31-
public string Link { get; set; }
32-
public string Title { get; set; }
3333
public int? AcceptedAnswerId { get; set; }
3434
}
3535

0 commit comments

Comments
 (0)