VirtualBox

Ignore:
Timestamp:
Jan 24, 2017 3:58:34 PM (8 years ago)
Author:
vboxsync
Message:

TestManager: Added basic sorting of report tables.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/testmanager/htdocs/js/common.js

    r65227 r65430  
    259259                var offValue = offMatch + 1 + sParam.length + 1;
    260260                offEnd = sArgs.indexOf('&', offValue);
    261                 if (offEnd < 0)
     261                if (offEnd < offValue)
    262262                    offEnd = sArgs.length;
    263263
    264264                var iColumn = parseInt(sArgs.substring(offValue, offEnd));
    265265                if (!isMemberOfArray(aiColumns, iColumn) && !isMemberOfArray(aiColumns, -iColumn))
    266                     sNew += sArgs.substring(off, offEnd);
     266                    sNew += sArgs.substring(offMatch, offEnd);
    267267
    268268                off = offEnd;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette