Comments (4)
i'm afraid the ordering is not supported by bulljs
https://github.com/OptimalBits/bull/blob/develop/REFERENCE.md#queuegetjobs
however if it makes sense, it's possible to sort it in the frontend only.
for page number selector, i think you could simply modify the URL page=1
<- change it here
from bull-master.
I am thinking front end only sorting, though for large amounts of jobs there may be a noticeable delay. Pagination seems simple enough.
from bull-master.
Handling sorting in server/controllers/jobs.js
is a viable option. You could add an additional parameter to the query that is a sort type, grab all the jobs, sort and paginate locally versus through the API. If I get time, I'll work up some code.
from bull-master.
hmm that will be great @jadkins89~
from bull-master.
Related Issues (16)
- screenshot
- Bug: TypeError: Cannot read property 'getJobCounts' of undefined HOT 5
- refresh rate in useInterval should be customizable HOT 1
- space between log lines too big HOT 3
- Action Required: Fix Renovate Configuration
- Provide a way to asynchronously set queues HOT 3
- Add option to filter jobs/queues by state HOT 1
- server/controllers/render.js should use res.send() not res.end() HOT 1
- Ability to add jobs HOT 1
- bull-master breaks with strict Content Security Policy headers HOT 1
- Not an issue: Just a huge THANKS! HOT 1
- Cannot read property 'getJob' of undefined
- Dependency Dashboard
- Low version Redis will cause the dashboard crash HOT 1
- Blank Dashboard HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bull-master.