Description of problem: If a cumin table spans multiple pages and the list of items is constrained using the "Search" dialog box, the current page is not reset to "page 1". This can lead to a blank display if for instance the current page is 14 and the search criteria reduces the page count to something less than 14. In general, since the last of items has been pruned, it probably makes sense to set current page back to "1" in all cases. How reproducible: 100% Steps to Reproduce: 1. Find a list of items that spans multiple pages, for instance slots or submissions. 2. Go to the last page in the list. 3. Enter something in the search box which produces a pruned list. Actual results: Display will be blank. Expected results: Something should be displayed, preferably page 1 of the pruned list. Additional info:
Fix available in revision 4780.
Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: Cause: searching table data by applying a filter to the description field would often result in an "empty" results list (actually, the results would not be empty, but the user would need to click a results page number to see the results). Consequence: Filtering long lists (like submissions) by the description was very clumsy and crippled. Fix: When a new search filter is applied, we now reset the offset (param that controls which page is currently displayed) to zero. Result: Applying search filters now has the desired effect. The user is greeted with a pruned list that matches their search.
Verified with cumin-0.1.4878-1.el5.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHSA-2011-1249.html