#3791 Sorting Problem

1.520
closed-fixed
nobody
None
5
2014-08-18
2010-11-02
No

Linux, Slackware 13.1, Firefox 3.6.12, IE 7,8 (I suppose the same for the others it's a programming error)

System->Users and Groups->Display Logins By (All):

The shorting by "Login At" seems to be Incorect. I was logged in and when I sorted the table by "Login At" desceding order I wasn't first in the list. Moreover

root Local tty1 Fri Aug 13 17:21 Shutdown 00:00
root xxx.xxx.xxx.xxx pts/0 Fri Aug 27 10:22 12:34 02:11
root Local tty1 Fri Aug 27 21:02 Shutdown 00:00
root xxx.xxx.xxx.xxx. pts/0 Fri Oct 22 19:11 Shutdown 00:04
root xxx.xxx.xxx.xxx pts/0 Fri Oct 22 22:54 22:55 00:01
webdevel xxx.xxx.xxx.xxx pts/1 Fri Oct 22 22:57 Shutdown 01:19
root Local tty1 Fri Oct 8 22:59 Shutdown 00:00
root xxx.xxx.xxx.xxx pts/1 Fri Sep 10 23:22 Shutdown 02:09
mysql xxx.xxx.xxx.xxx pts/0 Fri Sep 17 11:36 11:36 00:00
mysql xxx.xxx.xxx.xxxpts/0 Fri Sep 17 11:38 11:38 00:00
root Local tty1 Mon Aug 30 21:41 Shutdown 00:00
root Local tty1 Mon Aug 9 20:09 Shutdown 00:00
webdevel xxx.xxx.xxx.xxx. ftpd2002 Mon Oct 11 11:34 11:44 00:10

As you can see the order is incorrect

The shorting by "On For" has a javascript error.

Error: ts_getInnerText(b.cells[SORT_COLUMN_INDEX]) is undefined
Source File: https://xxx.xxx.xxx.xxx:10000/unauthenticated/sorttable.js
Line: 213

function ts_sort_caseinsensitive(a,b) {
aa = ts_getInnerText(a.cells[SORT_COLUMN_INDEX]).toLowerCase();
bb = ts_getInnerText(b.cells[SORT_COLUMN_INDEX]).toLowerCase(); //Line 213
if (aa==bb) return 0;
if (aa<bb) return -1;
return 1;
}

Discussion

  • Jamie Cameron

    Jamie Cameron - 2010-11-02
    • summary: Shorting Problem --> Sorting Problem
    • status: open --> closed-fixed
     
  • Jamie Cameron

    Jamie Cameron - 2010-11-02

    Thanks for pointing this out .. this will be fixed in Webmin 1.530.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks