madcorp / zfdatagrid

Automatically exported from code.google.com/p/zfdatagrid
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Bvb_Grid_Source_Array massActions_ issue #835

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,

When defining with Bvb_Grid_Source_Array multiple fields in mass actions  or 
multiple primary keys the massActions_ variable can be in wrong format if the 
array column order don't fit with mass actions fields.

Example:

array format:
id | field1 | field2 | field3

now set primary keys:
$grid->setPrimaryKey(array('id', 'field3', 'field2');

the massActions_ will be setted as id-field2-field3 instead id-field3-field4 as 
all rows checkbox value.

Best Regards
Ivo Monteiro

Original issue reported on code.google.com by ivomonte...@gmail.com on 10 Mar 2012 at 7:52

GoogleCodeExporter commented 9 years ago
r1889

Original comment by ivomonte...@gmail.com on 10 Mar 2012 at 7:53