software-project / scrum-pm

Scrum PM is a plugin for Redmine ticket management system. It adds Scrum items like backlog, dashboard and others.
www.software-project.eu/EN/scrumpm
126 stars 47 forks source link

Sorting by ID should be as "number" instead of "text" #58

Open theali opened 14 years ago

theali commented 14 years ago

Now sorting is done by default "text" rule. ID is number so it should be sorted as number (20 > 3 but "20" < "3").

There is simple way to fix it:

  1. Add number class to ID column in table http://wklej.org/id/381323/
  2. Fix "number" type in tablesort (.* doesn't match \n, so there should be [\s\S]* instead). http://wklej.org/id/381324/

P.S. I don't know how to paste here diffblock, so I've used nopase "wklej.org".