Red Hat Bugzilla – Bug 872395
Editor's document list page size is too small
Last modified: 2013-02-25 22:46:11 EST
Description of problem:
Since Zanata has been upgraded to 2.0.2, file listing page has been paginated by 20. It used to list all files in one page.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Open a project in Zanata
2. Cick on translate
3. File listing page will be shown
Paginated by 20
Should not be paginated.
Single page listing all files is a lot more producitve.
I have been working on a project which was written using skynet.
It means there are many files - the current project has 390. When the writer update a topic and is added to zanata, you have to go page by page to look for particular topic.
also I am unable to search topic/version number projectwide.
This makes my work extremely difficult, slows down translation, lowers productivity.
Please fix this as soon as possible.
About the search, I am aware that we can use the search field at the top to search topic/version, but what I meant was I prefer to use browser search function, so I can still have the entire list of topics listed, but locate the applicable file in the list.
Implemented count options of 25, 50, 100, 250 in document list view.
Tested with Zanata version 2.1-SNAPSHOT (20121108-1439)
The last page shows the last 50 documents,
however, this may cause confusion because some documents appear in both last page and second last page.
Perhaps it is why in most websites, the last page contains only remainder instead of last <pageSize> items.
In other words:
Suppose we have 60 documents and the page size is 50.
Page 1: 1~50
Page 2: 11-60
Page 1: 1~50
Page 2: 51~60
Fixed on the paging issue. See https://github.com/zanata/zanata/commit/63e38e13bc58e4da77cf7c3faf18fbdcbb17f059
VERIFIED with Zanata version 2.1-SNAPSHOT (20121112-1056)
Please test on 2.0.x.
I had to clean up a bad merge in 'release', so I have cherry-picked the above commit as https://github.com/zanata/zanata/commit/c76d954d004d67e00b091e6052ef069b548455e9.
VERIFIED with Zanata version 2.0.3-SNAPSHOT (20121113-0009)