What steps will reproduce the problem?
1. use $grid->setPaginationInterval(array(10 => 10, 20 => 20, 50 => 50, 100 =>
100, 500 => 500, 1000 => 1000));
2. export a grid to CSV
What is the expected output? What do you see instead?
expected:
all data is exported
instead:
the data that is exported seems to be dependent on the pagination that was set,
sometimes it seems completely random
e.g. I have a grid with 9220 lines (and the above pagination-settings)
- 1. set pagination to 10, no filters, export result: 9220 lines (ok)
- 2. set pagination to 1000, no filters, export result: 5220 lines (??)
- 3. set pagination to 10, no filters, export result: 4230 lines (before it was
9220 with pagination 10!)
- 4. set pagination to 100, no filters, export result: 4320 lines (+90??)
it should have been 9220 lines at all times, regardless of the pagination
Please insert the appropriate values;
Zend Framework version: 1.11.11
ZFDatgrid Version (Bvb_Grid::getVersion()): 0.8
Operating system: Linux
PHP Version: 5.3.6
Database Server and version: Mysql 5
Source Adatapter:
Please provide any additional information below.
skipping setPaginationInterval when isExport() is true will fix the problem
Original issue reported on code.google.com by buegelfa...@gmail.com on 8 Dec 2011 at 1:32
Original issue reported on code.google.com by
buegelfa...@gmail.com
on 8 Dec 2011 at 1:32