VirtualBox

Ignore:
Timestamp:
Mar 25, 2020 8:09:52 PM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
136649
Message:

wuibase.py: Added todo with suggestions for fetchForListing enhancements.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/testmanager/webui/wuibase.py

    r83397 r83430  
    845845        self._checkForUnknownParameters();
    846846
     847        ## @todo fetchForListing could be made more useful if it returned a tuple
     848        # that includes the total number of entries, thus making paging more user
     849        # friendly (known number of pages).  So, the return should be:
     850        #       (aoEntries, cAvailableEntries)
     851        #
     852        # In addition, we could add a new parameter to include deleted entries,
     853        # making it easier to find old deleted testboxes/testcases/whatever and
     854        # clone them back to life.  The temporal navigation is pretty usless here.
     855        #
    847856        aoEntries  = oLogicType(self._oDb).fetchForListing(iPage * cItemsPerPage, cItemsPerPage + 1, tsEffective, aiSortColumns);
    848857        oContent   = oListContentType(aoEntries, iPage, cItemsPerPage, tsEffective,
Note: See TracChangeset for help on using the changeset viewer.

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