Nextdoor / ndscheduler

A flexible python library for building your own cron-like system, with REST APIs and a Web UI.
BSD 2-Clause "Simplified" License
1.08k stars 202 forks source link

The Jobs-Site sorts the "Job Name" Column wrong #105

Closed webfrweak closed 11 months ago

webfrweak commented 1 year ago

I have created jobs with the following names: "a", "b", "c", "d"

The jobs are not sorted alphabetically as expected, but "a", "d", "b", "c"

I didn't find much by searching the internet either. The sorting on the "Executions" page is sorted correctly.

webfrweak commented 1 year ago

I have now been able to identify the problem.

It helped for me to put the name attribute "data-job-name" in the first place. The order of attributes can be changed in the "job-row-name.html" file. As it stands, jQuery sorts the attributes before the text in the cell.

-> Solved