scrapydweb
scrapydweb copied to clipboard
Deleting a job with non-default sorting does not work
Describe the bug When deleting jobs. wrong job seems to get deleted if the jobs are sorted other than the default way.
To Reproduce Steps to reproduce the behavior:
- Go to 'Dashboard - Jobs'
- Sort by start date descending
- Click "Delete" on a job, in my case it was one that got killed and did not finish normally
- The job you want to delete stays in the list, but moves up one line because some other job above it disappeared, I couldn't see which one exactly.
Expected behavior The jobs should get deleted independently of the sorting in the jobs list.
Environment (please complete the following information):
- Operating system: Alpine Linux as Docker
- Python version: 3.9
- ScrapydWeb version: latest
- Browser: Firefox
Could you reproduce the issue and post related screenshots and log?