HangfireIO / HangfireIO/Hangfire

Ability to sort & search

Open
#2,132 1 comment 2 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
10.1k
Forks
1.8k
Avg merge
1h 19m
Merged PRs (30d)
1

Description

Looking at the code, I only see from and count. Could better sorting be allowed?

int.TryParse(Query("from"), out from);
int.TryParse(Query("count"), out perPage);

.../hangfire/recurring?from=0&count=20&order=created

Desired

/hangfire/recurring?from=0&count=20&order=created

Desired

/hangfire/recurring?from=0&count=20&order=created&created=2022-11-14_2022-11-15&id=1337ee76-94bc-4d8a-8d72-8c530dda047e&cron=0_0_15_*_*

I am ok if we can only sort by a desired column. But it would be great to filter on a created range, id, or cron schedule

Contributor guide

Open the contributing guide

Research direction

The issue points to the /hangfire/recurring endpoint and its existing from/count query parsing; start by tracing where that endpoint handles recurring-job results. Clarify which sorting and filtering parameters are in scope, then verify that the selected parameters work for ordering and filtering by created range, id, or cron schedule.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
api
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.