VirtualBox

儲存庫 vbox 的更動 65350


忽略:
時間撮記:
2017-1-17 下午03:35:59 (8 年 以前)
作者:
vboxsync
訊息:

TestManager/webui: Implemented simple column sorting direction toggle during the meeting. (Still testboxes only.)

位置:
trunk/src/VBox/ValidationKit/testmanager
檔案:
修改 18 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/ValidationKit/testmanager/core/testbox.py

    r65228 r65350  
    671671    """
    672672
    673     kiSortColumn_sName              =  0;
    674     kiSortColumn_sOs                =  1;
    675     kiSortColumn_sOsVersion         =  2;
    676     kiSortColumn_sCpuVendor         =  3;
    677     kiSortColumn_sCpuArch           =  4;
    678     kiSortColumn_lCpuRevision       =  5;
    679     kiSortColumn_cCpus              =  6;
    680     kiSortColumn_cMbMemory          =  7;
    681     kiSortColumn_cMbScratch         =  8;
    682     kiSortColumn_fCpuNestedPaging   =  9;
    683     kiSortColumn_iTestBoxScriptRev  = 10;
    684     kiSortColumn_iPythonHexVersion  = 11;
    685     kcMaxSortColumns                = 12;
     673    kiSortColumn_sName              =  1;
     674    kiSortColumn_sOs                =  2;
     675    kiSortColumn_sOsVersion         =  3;
     676    kiSortColumn_sCpuVendor         =  4;
     677    kiSortColumn_sCpuArch           =  5;
     678    kiSortColumn_lCpuRevision       =  6;
     679    kiSortColumn_cCpus              =  7;
     680    kiSortColumn_cMbMemory          =  8;
     681    kiSortColumn_cMbScratch         =  9;
     682    kiSortColumn_fCpuNestedPaging   = 10;
     683    kiSortColumn_iTestBoxScriptRev  = 11;
     684    kiSortColumn_iPythonHexVersion  = 12;
     685    kcMaxSortColumns                = 13;
    686686    kdSortColumnMap                 = {
    687         kiSortColumn_sName:             'TestBoxesWithStrings.sName',
    688         kiSortColumn_sOs:               'TestBoxesWithStrings.sOs',
    689         kiSortColumn_sOsVersion:        'TestBoxesWithStrings.sOsVersion',
    690         kiSortColumn_sCpuVendor:        'TestBoxesWithStrings.sCpuVendor',
    691         kiSortColumn_sCpuArch:          'TestBoxesWithStrings.sCpuArch',
    692         kiSortColumn_lCpuRevision:      'TestBoxesWithStrings.lCpuRevision',
    693         kiSortColumn_cCpus:             'TestBoxesWithStrings.cCpus',
    694         kiSortColumn_cMbMemory:         'TestBoxesWithStrings.cMbMemory',
    695         kiSortColumn_cMbScratch:        'TestBoxesWithStrings.cMbScratch',
    696         kiSortColumn_fCpuNestedPaging:  'TestBoxesWithStrings.fCpuNestedPaging',
    697         kiSortColumn_iTestBoxScriptRev: 'TestBoxesWithStrings.iTestBoxScriptRev',
    698         kiSortColumn_iPythonHexVersion: 'TestBoxesWithStrings.iPythonHexVersion',
     687        0:                               'TestBoxesWithStrings.sName',
     688        kiSortColumn_sName:              'TestBoxesWithStrings.sName',
     689        -kiSortColumn_sName:             'TestBoxesWithStrings.sName DESC',
     690        kiSortColumn_sOs:                'TestBoxesWithStrings.sOs',
     691        -kiSortColumn_sOs:               'TestBoxesWithStrings.sOs DESC',
     692        kiSortColumn_sOsVersion:         'TestBoxesWithStrings.sOsVersion',
     693        -kiSortColumn_sOsVersion:        'TestBoxesWithStrings.sOsVersion DESC',
     694        kiSortColumn_sCpuVendor:         'TestBoxesWithStrings.sCpuVendor',
     695        -kiSortColumn_sCpuVendor:        'TestBoxesWithStrings.sCpuVendor DESC',
     696        kiSortColumn_sCpuArch:           'TestBoxesWithStrings.sCpuArch',
     697        -kiSortColumn_sCpuArch:          'TestBoxesWithStrings.sCpuArch DESC',
     698        kiSortColumn_lCpuRevision:       'TestBoxesWithStrings.lCpuRevision',
     699        -kiSortColumn_lCpuRevision:      'TestBoxesWithStrings.lCpuRevision DESC',
     700        kiSortColumn_cCpus:              'TestBoxesWithStrings.cCpus',
     701        -kiSortColumn_cCpus:             'TestBoxesWithStrings.cCpus DESC',
     702        kiSortColumn_cMbMemory:          'TestBoxesWithStrings.cMbMemory',
     703        -kiSortColumn_cMbMemory:         'TestBoxesWithStrings.cMbMemory DESC',
     704        kiSortColumn_cMbScratch:         'TestBoxesWithStrings.cMbScratch',
     705        -kiSortColumn_cMbScratch:        'TestBoxesWithStrings.cMbScratch DESC',
     706        kiSortColumn_fCpuNestedPaging:   'TestBoxesWithStrings.fCpuNestedPaging',
     707        -kiSortColumn_fCpuNestedPaging:  'TestBoxesWithStrings.fCpuNestedPaging DESC',
     708        kiSortColumn_iTestBoxScriptRev:  'TestBoxesWithStrings.iTestBoxScriptRev',
     709        -kiSortColumn_iTestBoxScriptRev: 'TestBoxesWithStrings.iTestBoxScriptRev DESC',
     710        kiSortColumn_iPythonHexVersion:  'TestBoxesWithStrings.iPythonHexVersion',
     711        -kiSortColumn_iPythonHexVersion: 'TestBoxesWithStrings.iPythonHexVersion DESC',
    699712    };
    700713
  • trunk/src/VBox/ValidationKit/testmanager/webui/wuiadminbuild.py

    r62484 r65350  
    7878    """
    7979
    80     def __init__(self, aoEntries, iPage, cItemsPerPage, tsEffective, fnDPrint, oDisp):
     80    def __init__(self, aoEntries, iPage, cItemsPerPage, tsEffective, fnDPrint, oDisp, aiSelectedSortColumns = None):
    8181        WuiListContentBase.__init__(self, aoEntries, iPage, cItemsPerPage, tsEffective,
    82                                     sTitle = 'Builds', sId = 'builds', fnDPrint = fnDPrint, oDisp = oDisp);
     82                                    sTitle = 'Builds', sId = 'builds', fnDPrint = fnDPrint, oDisp = oDisp,
     83                                    aiSelectedSortColumns = aiSelectedSortColumns);
    8384
    8485        self._asColumnHeaders = ['ID', 'Product', 'Branch', 'Version',
  • trunk/src/VBox/ValidationKit/testmanager/webui/wuiadminbuildblacklist.py

    r62484 r65350  
    103103    """
    104104
    105     def __init__(self, aoEntries, iPage, cItemsPerPage, tsEffective, fnDPrint, oDisp):
     105    def __init__(self, aoEntries, iPage, cItemsPerPage, tsEffective, fnDPrint, oDisp, aiSelectedSortColumns = None):
    106106        WuiListContentBase.__init__(self, aoEntries, iPage, cItemsPerPage, tsEffective,
    107107                                    sTitle = 'Build Blacklist', sId = 'buildsBlacklist',
    108                                     fnDPrint = fnDPrint, oDisp = oDisp);
     108                                    fnDPrint = fnDPrint, oDisp = oDisp, aiSelectedSortColumns = aiSelectedSortColumns);
    109109
    110110        self._asColumnHeaders = ['ID', 'Failure Reason',
  • trunk/src/VBox/ValidationKit/testmanager/webui/wuiadminbuildcategory.py

    r62484 r65350  
    4242    """
    4343
    44     def __init__(self, aoEntries, iPage, cItemsPerPage, tsEffective, fnDPrint, oDisp):
     44    def __init__(self, aoEntries, iPage, cItemsPerPage, tsEffective, fnDPrint, oDisp, aiSelectedSortColumns = None):
    4545        WuiListContentBase.__init__(self, aoEntries, iPage, cItemsPerPage, tsEffective,
    4646                                    sTitle = 'Build Categories', sId = 'buildcategories',
    47                                     fnDPrint = fnDPrint, oDisp = oDisp);
     47                                    fnDPrint = fnDPrint, oDisp = oDisp, aiSelectedSortColumns = aiSelectedSortColumns);
    4848        self._asColumnHeaders = ([ 'ID', 'Product', 'Repository', 'Branch', 'Build Type', 'OS/Architectures', 'Actions' ]);
    4949        self._asColumnAttribs = (['align="right"', '', '', '', '', 'align="center"' ]);
  • trunk/src/VBox/ValidationKit/testmanager/webui/wuiadminbuildsource.py

    r62484 r65350  
    8080    """
    8181
    82     def __init__(self, aoEntries, iPage, cItemsPerPage, tsEffective, fnDPrint, oDisp):
     82    def __init__(self, aoEntries, iPage, cItemsPerPage, tsEffective, fnDPrint, oDisp, aiSelectedSortColumns = None):
    8383        WuiListContentBase.__init__(self, aoEntries, iPage, cItemsPerPage, tsEffective,
    8484                                    sTitle = 'Registered Build Sources', sId = 'build sources',
    85                                     fnDPrint = fnDPrint, oDisp = oDisp);
     85                                    fnDPrint = fnDPrint, oDisp = oDisp, aiSelectedSortColumns = aiSelectedSortColumns);
    8686        self._asColumnHeaders = ['ID', 'Name', 'Description', 'Product',
    8787                                 'Branch', 'Build Types', 'OS/ARCH', 'First Revision', 'Last Revision', 'Max Age',
  • trunk/src/VBox/ValidationKit/testmanager/webui/wuiadminfailurecategory.py

    r62484 r65350  
    109109    """
    110110
    111     def __init__(self, aoEntries, iPage, cItemsPerPage, tsEffective, fnDPrint, oDisp):
     111    def __init__(self, aoEntries, iPage, cItemsPerPage, tsEffective, fnDPrint, oDisp, aiSelectedSortColumns = None):
    112112        WuiListContentBase.__init__(self, aoEntries, iPage, cItemsPerPage, tsEffective,
    113113                                    sTitle = 'Failure Categories', sId = 'failureCategories',
    114                                     fnDPrint = fnDPrint, oDisp = oDisp);
     114                                    fnDPrint = fnDPrint, oDisp = oDisp, aiSelectedSortColumns = aiSelectedSortColumns);
    115115
    116116        self._asColumnHeaders = ['ID', 'Short Description', 'Full Description', 'Actions' ]
  • trunk/src/VBox/ValidationKit/testmanager/webui/wuiadminfailurereason.py

    r62484 r65350  
    124124    """
    125125
    126     def __init__(self, aoEntries, iPage, cItemsPerPage, tsEffective, fnDPrint, oDisp):
     126    def __init__(self, aoEntries, iPage, cItemsPerPage, tsEffective, fnDPrint, oDisp, aiSelectedSortColumns = None):
    127127        WuiListContentBase.__init__(self, aoEntries, iPage, cItemsPerPage, tsEffective,
    128128                                    sTitle = 'Failure Reasons', sId = 'failureReasons',
    129                                     fnDPrint = fnDPrint, oDisp = oDisp);
     129                                    fnDPrint = fnDPrint, oDisp = oDisp, aiSelectedSortColumns = aiSelectedSortColumns);
    130130
    131131        self._asColumnHeaders = ['ID', 'Category', 'Short Description',
  • trunk/src/VBox/ValidationKit/testmanager/webui/wuiadminglobalrsrc.py

    r62484 r65350  
    8888    """
    8989
    90     def __init__(self, aoEntries, iPage, cItemsPerPage, tsEffective, fnDPrint, oDisp):
     90    def __init__(self, aoEntries, iPage, cItemsPerPage, tsEffective, fnDPrint, oDisp, aiSelectedSortColumns = None):
    9191        WuiListContentBase.__init__(self, aoEntries, iPage, cItemsPerPage, tsEffective,
    9292                                    sTitle = 'Global Resources', sId = 'globalResources',
    93                                     fnDPrint = fnDPrint, oDisp = oDisp)
     93                                    fnDPrint = fnDPrint, oDisp = oDisp, aiSelectedSortColumns = aiSelectedSortColumns);
    9494
    9595        self._asColumnHeaders = ['ID', 'Name', 'Description', 'Enabled', 'Actions' ]
  • trunk/src/VBox/ValidationKit/testmanager/webui/wuiadminschedgroup.py

    r62484 r65350  
    9494    """
    9595
    96     def __init__(self, aoEntries, iPage, cItemsPerPage, tsEffective, fnDPrint, oDisp):
     96    def __init__(self, aoEntries, iPage, cItemsPerPage, tsEffective, fnDPrint, oDisp, aiSelectedSortColumns = None):
    9797        WuiListContentBase.__init__(self, aoEntries, iPage, cItemsPerPage, tsEffective,
    9898                                    sTitle = 'Registered Scheduling Groups', sId = 'schedgroups',
    99                                     fnDPrint = fnDPrint, oDisp = oDisp);
     99                                    fnDPrint = fnDPrint, oDisp = oDisp, aiSelectedSortColumns = aiSelectedSortColumns);
    100100
    101101        self._asColumnHeaders = [
  • trunk/src/VBox/ValidationKit/testmanager/webui/wuiadminsystemchangelog.py

    r65342 r65350  
    5858    """
    5959
    60     def __init__(self, aoEntries, iPage, cItemsPerPage, tsEffective, fnDPrint, oDisp, cDaysBack):
     60    def __init__(self, aoEntries, iPage, cItemsPerPage, tsEffective, fnDPrint, oDisp, cDaysBack, aiSelectedSortColumns = None):
    6161        WuiListContentBase.__init__(self, aoEntries, iPage, cItemsPerPage, tsEffective, 'System Changelog',
    62                                     fnDPrint = fnDPrint, oDisp = oDisp);
     62                                    fnDPrint = fnDPrint, oDisp = oDisp, aiSelectedSortColumns = aiSelectedSortColumns);
    6363        self._asColumnHeaders = [ 'When', 'User', 'Event', 'Details' ];
    6464        self._asColumnAttribs = [ 'align="center"', 'align="center"', '', '' ];
  • trunk/src/VBox/ValidationKit/testmanager/webui/wuiadminsystemlog.py

    r62484 r65350  
    4242    """
    4343
    44     def __init__(self, aoEntries, iPage, cItemsPerPage, tsEffective, fnDPrint, oDisp):
     44    def __init__(self, aoEntries, iPage, cItemsPerPage, tsEffective, fnDPrint, oDisp, aiSelectedSortColumns = None):
    4545        WuiListContentBase.__init__(self, aoEntries, iPage, cItemsPerPage, tsEffective, 'System Log',
    46                                     fnDPrint = fnDPrint, oDisp = oDisp);
     46                                    fnDPrint = fnDPrint, oDisp = oDisp, aiSelectedSortColumns = aiSelectedSortColumns);
    4747        self._asColumnHeaders = ['Date', 'Event', 'Message', 'Action'];
    4848        self._asColumnAttribs = ['', '', '', 'align="center"'];
  • trunk/src/VBox/ValidationKit/testmanager/webui/wuiadmintestbox.py

    r65228 r65350  
    180180    kcSecMaxStatusDeltaAlive = 15*60
    181181
    182     def __init__(self, aoEntries, iPage, cItemsPerPage, tsEffective, fnDPrint, oDisp):
     182    def __init__(self, aoEntries, iPage, cItemsPerPage, tsEffective, fnDPrint, oDisp, aiSelectedSortColumns = None):
    183183        # type: (list[TestBoxDataForListing], int, int, datetime.datetime, ignore, WuiAdmin) -> None
    184184        WuiListContentWithActionBase.__init__(self, aoEntries, iPage, cItemsPerPage, tsEffective,
    185                                               sTitle = 'TestBoxes', sId = 'users', fnDPrint = fnDPrint, oDisp = oDisp);
     185                                              sTitle = 'TestBoxes', sId = 'users', fnDPrint = fnDPrint, oDisp = oDisp,
     186                                              aiSelectedSortColumns = aiSelectedSortColumns);
    186187        self._asColumnHeaders.extend([ 'Name', 'LOM', 'Status', 'Cmd',
    187188                                       'Note', 'Script', 'Python', 'Group',
  • trunk/src/VBox/ValidationKit/testmanager/webui/wuiadmintestcase.py

    r62484 r65350  
    5959    """
    6060
    61     def __init__(self, aoEntries, iPage, cItemsPerPage, tsEffective, fnDPrint, oDisp):
    62         WuiListContentBase.__init__(self, aoEntries, iPage, cItemsPerPage, tsEffective,
    63                                     sTitle = 'Test Cases', fnDPrint = fnDPrint, oDisp = oDisp);
     61    def __init__(self, aoEntries, iPage, cItemsPerPage, tsEffective, fnDPrint, oDisp, aiSelectedSortColumns = None):
     62        WuiListContentBase.__init__(self, aoEntries, iPage, cItemsPerPage, tsEffective, sTitle = 'Test Cases',
     63                                    fnDPrint = fnDPrint, oDisp = oDisp, aiSelectedSortColumns = aiSelectedSortColumns);
    6464        self._asColumnHeaders = \
    6565        [
  • trunk/src/VBox/ValidationKit/testmanager/webui/wuiadmintestgroup.py

    r62484 r65350  
    8484    """
    8585
    86     def __init__(self, aoEntries, iPage, cItemsPerPage, tsEffective, fnDPrint, oDisp):
     86    def __init__(self, aoEntries, iPage, cItemsPerPage, tsEffective, fnDPrint, oDisp, aiSelectedSortColumns = None):
    8787        assert len(aoEntries) == 0 or isinstance(aoEntries[0], TestGroupDataEx)
    8888
    89         WuiListContentBase.__init__(self, aoEntries, iPage, cItemsPerPage, tsEffective,
    90                                     sTitle = 'Test Groups', fnDPrint = fnDPrint, oDisp = oDisp);
     89        WuiListContentBase.__init__(self, aoEntries, iPage, cItemsPerPage, tsEffective, sTitle = 'Test Groups',
     90                                    fnDPrint = fnDPrint, oDisp = oDisp, aiSelectedSortColumns = aiSelectedSortColumns);
    9191        self._asColumnHeaders = [ 'ID', 'Name', 'Description', 'Test Cases', 'Note', 'Actions' ];
    9292        self._asColumnAttribs = [ 'align="right"', '', '', '', 'align="center"', 'align="center"' ];
  • trunk/src/VBox/ValidationKit/testmanager/webui/wuiadminuseraccount.py

    r62484 r65350  
    6767    """
    6868
    69     def __init__(self, aoEntries, iPage, cItemsPerPage, tsEffective, fnDPrint, oDisp):
     69    def __init__(self, aoEntries, iPage, cItemsPerPage, tsEffective, fnDPrint, oDisp, aiSelectedSortColumns = None):
    7070        WuiListContentBase.__init__(self, aoEntries, iPage, cItemsPerPage, tsEffective,
    71                                     sTitle = 'Registered User Accounts', sId = 'users', fnDPrint = fnDPrint, oDisp = oDisp);
     71                                    sTitle = 'Registered User Accounts', sId = 'users', fnDPrint = fnDPrint, oDisp = oDisp,
     72                                    aiSelectedSortColumns = aiSelectedSortColumns);
    7273        self._asColumnHeaders = ['User ID', 'Name', 'E-mail', 'Full Name', 'Login Name', 'Actions'];
    7374        self._asColumnAttribs = ['align="center"', 'align="center"', 'align="center"', 'align="center"', 'align="center"',
  • trunk/src/VBox/ValidationKit/testmanager/webui/wuibase.py

    r65226 r65350  
    804804        cItemsPerPage   = self.getIntParam(self.ksParamItemsPerPage, iMin = 2, iMax =   9999, iDefault = 300);
    805805        iPage           = self.getIntParam(self.ksParamPageNo,       iMin = 0, iMax = 999999, iDefault = 0);
    806         aiSortColumnsDup = self.getListOfIntParams(self.ksParamSortColumns, iMin = 0,
     806        aiSortColumnsDup = self.getListOfIntParams(self.ksParamSortColumns,
     807                                                   iMin = -getattr(oLogicType, 'kcMaxSortColumns', 0) + 1,
    807808                                                   iMax = getattr(oLogicType, 'kcMaxSortColumns', 0), aiDefaults = []);
    808809        aiSortColumns   = [];
     
    814815        aoEntries  = oLogicType(self._oDb).fetchForListing(iPage * cItemsPerPage, cItemsPerPage + 1, tsEffective, aiSortColumns);
    815816        oContent   = oListContentType(aoEntries, iPage, cItemsPerPage, tsEffective,
    816                                       fnDPrint = self._oSrvGlue.dprint, oDisp = self);
     817                                      fnDPrint = self._oSrvGlue.dprint, oDisp = self, aiSelectedSortColumns = aiSortColumns);
    817818        (self._sPageTitle, self._sPageBody) = oContent.show();
    818819        return True;
  • trunk/src/VBox/ValidationKit/testmanager/webui/wuicontentbase.py

    r65226 r65350  
    736736    """
    737737
    738     def __init__(self, aoEntries, iPage, cItemsPerPage, tsEffectiveDate, sTitle, sId = None, fnDPrint = None, oDisp = None):
     738    def __init__(self, aoEntries, iPage, cItemsPerPage, tsEffectiveDate, sTitle, sId = None, fnDPrint = None,
     739                 oDisp = None, aiSelectedSortColumns = None):
    739740        WuiContentBase.__init__(self, fnDPrint = fnDPrint, oDisp = oDisp);
    740741        self._aoEntries         = aoEntries; ## @todo should replace this with a Logic object and define methods for querying.
     
    750751        self._asColumnAttribs   = [];
    751752        self._aaiColumnSorting  = [];   ##< list of list of integers
     753        self._aiSelectedSortColumns = aiSelectedSortColumns; ##< list of integers
    752754
    753755    def _formatCommentCell(self, sComment, cMaxLines = 3, cchMaxLine = 63):
     
    937939        return sNavigation;
    938940
     941    def _isSortingByColumnAscending(self, aiColumns):
     942        """ Checks if we're already sorting by this column in ascending order """
     943        # Just compare the first sorting column spec for now.
     944        #if self._aiSelectedSortColumns is not None and len(aiColumns) <= len(self._aiSelectedSortColumns):
     945        if  len(aiColumns) <= len(self._aiSelectedSortColumns):
     946            if list(aiColumns) == list(self._aiSelectedSortColumns[:len(aiColumns)]):
     947                return True;
     948        return False;
     949
    939950    def _generateTableHeaders(self):
    940951        """
     
    950961            elif iHeader < len(self._aaiColumnSorting) and self._aaiColumnSorting[iHeader] is not None:
    951962                sHtml += '<th>'
    952                 sHtml += '<a href="javascript:ahrefActionSortByColumns(\'%s\', [%s]);">' \
    953                        % (WuiDispatcherBase.ksParamSortColumns, ','.join([str(i) for i in self._aaiColumnSorting[iHeader]]));
     963                if not self._isSortingByColumnAscending(self._aaiColumnSorting[iHeader]):
     964                    sSortParams = ','.join([str(i) for i in self._aaiColumnSorting[iHeader]]);
     965                else:
     966                    sSortParams = ','.join([str(-i) for i in self._aaiColumnSorting[iHeader]]);
     967                sHtml += '<a href="javascript:ahrefActionSortByColumns(\'%s\',[%s]);">' \
     968                       % (WuiDispatcherBase.ksParamSortColumns, sSortParams);
    954969                sHtml += webutils.escapeElem(oHeader) + '</a></th>';
    955970            else:
     
    10211036    """
    10221037
    1023     def __init__(self, aoEntries, iPage, cItemsPerPage, tsEffectiveDate, sTitle, sId = None, fnDPrint = None, oDisp = None):
    1024         WuiListContentBase.__init__(self, aoEntries, iPage, cItemsPerPage, tsEffectiveDate, sTitle,
    1025                                     sId = sId, fnDPrint = fnDPrint, oDisp = oDisp);
     1038    def __init__(self, aoEntries, iPage, cItemsPerPage, tsEffectiveDate, sTitle, sId = None, fnDPrint = None,
     1039                 oDisp = None, aiSelectedSortColumns = None):
     1040        WuiListContentBase.__init__(self, aoEntries, iPage, cItemsPerPage, tsEffectiveDate, sTitle, sId = sId,
     1041                                    fnDPrint = fnDPrint, oDisp = oDisp, aiSelectedSortColumns = aiSelectedSortColumns);
    10261042        self._aoActions     = None; # List of [ oValue, sText, sHover ] provided by the child class.
    10271043        self._sAction       = None; # Set by the child class.
  • trunk/src/VBox/ValidationKit/testmanager/webui/wuitestresult.py

    r62484 r65350  
    764764    """
    765765
    766     def __init__(self, aoEntries, cEntriesCount, iPage, cItemsPerPage, tsEffective, fnDPrint, oDisp):
     766    def __init__(self, aoEntries, cEntriesCount, iPage, cItemsPerPage, tsEffective, fnDPrint, oDisp,
     767                 aiSelectedSortColumns = None):
    767768        """Override initialization"""
    768769        WuiListContentBase.__init__(self, aoEntries, iPage, cItemsPerPage, tsEffective,
    769770                                    sTitle = 'Ungrouped (%d)' % cEntriesCount, sId = 'results',
    770                                     fnDPrint = fnDPrint, oDisp = oDisp);
     771                                    fnDPrint = fnDPrint, oDisp = oDisp, aiSelectedSortColumns = aiSelectedSortColumns);
    771772
    772773        self._cEntriesCount   = cEntriesCount
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

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