Bug 983782 - Filtering that drops the last page causes unexpected behaviour
Summary: Filtering that drops the last page causes unexpected behaviour
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Zanata
Classification: Retired
Component: Usability
Version: development
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: ---
Assignee: Alex Eng
QA Contact: Damian Jansen
URL:
Whiteboard:
Depends On:
Blocks: 978656
TreeView+ depends on / blocked
 
Reported: 2013-07-12 00:41 UTC by Damian Jansen
Modified: 2013-11-27 03:32 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-11-27 03:32:40 UTC
Embargoed:


Attachments (Terms of Use)

Description Damian Jansen 2013-07-12 00:41:36 UTC
Description of problem:
Scenario -
* User has a filter in place
* Filter shows 2 (or more) pages of results
* User is on second last page
* User edits enough items on the current page such that there are no valid rows for the last page

Version-Release number of selected component (if applicable):
Dev

How reproducible:
Moderate, but consistent

Steps to Reproduce:
1. Have a doc with untranslated items
2. Click Incomplete filter - > Untranslated
3. Go to last page, take note of how many (number of items) items are on last page
4. Go to second last page
5. Translate (number of items) and save them as fuzzy
6. Press the next page button
7. No content page appears, with e.g. 3/2 pages and an available Next button
8. Press the Next page button
8. Goes to Page 1

Actual results:
Current page is higher than the total number of pages, next page wraps to page one

Expected results:
If the current page would be higher than total number of pages, then go to last page

Additional info:

Comment 1 Damian Jansen 2013-07-12 00:44:12 UTC
I'm going to add it as a block to 978656, but it's reasonably trivial and may not be directly related to the new filtering.

Comment 3 Damian Jansen 2013-07-21 22:32:17 UTC
Tested at df00dc1cab4e993a5f0d98cf84faacb8f60f6381
Looks good.

Comment 4 Sean Flanigan 2013-11-27 03:32:40 UTC
Closing VERIFIED bugs which predate Zanata 3.1.2.


Note You need to log in before you can comment on or make changes to this bug.