Skip to content

Commit

Permalink
feat(view): 🚸 set AutoCompleteText for totals result
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesNZL committed May 17, 2023
1 parent 7a90598 commit 6f4293e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/TogglTrack.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1520,6 +1520,7 @@ internal async ValueTask<List<Result>> RequestViewReports(CancellationToken toke
{
Title = $"{total.Humanize(maxUnit: Humanizer.Localisation.TimeUnit.Hour)} tracked {spanConfiguration.Interpolation} ({(int)total.TotalHours}:{total.ToString(@"mm\:ss")})",
IcoPath = "view.png",
AutoCompleteText = $"{query.ActionKeyword} {query.Search} ",
Score = (int)total.TotalSeconds,
},
};
Expand Down Expand Up @@ -1656,6 +1657,7 @@ internal async ValueTask<List<Result>> RequestViewReports(CancellationToken toke
{
Title = $"{subTotal.Humanize(maxUnit: Humanizer.Localisation.TimeUnit.Hour)} tracked {spanConfiguration.Interpolation} ({(int)subTotal.TotalHours}:{subTotal.ToString(@"mm\:ss")})",
IcoPath = "view.png",
AutoCompleteText = $"{query.ActionKeyword} {query.Search} ",
Score = (int)subTotal.TotalSeconds,
});

Expand Down

0 comments on commit 6f4293e

Please sign in to comment.