omusico / zfdatagrid

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

Problems applying IN filters on columns #781

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Apply a IN filter on a grid column, providing the following string: value1, 
value2, value3
2. Press "Apply Filter"

What is the expected output? What do you see instead?
According to ZFDatagrid 0.7.1 docs, the grid should display only data for the 
values filtered. Instead, the grid display 0 records.

Please insert the appropriate values;
                    Zend Framework version: 1.10.11
ZFDatgrid Version (Bvb_Grid::getVersion()): 0.7.1 (r1845)
                          Operating system: Windows XP
                               PHP Version: 5.3
               Database Server and version: MySQL 5.2
                          Source Adatapter: Bvb_Grid_Source_Array

Please provide any additional information below.
Perhaps I don't type correctly the IN filter? What's the filter syntax
in this case?

Original issue reported on code.google.com by antonio....@gmail.com on 15 Nov 2011 at 8:51

GoogleCodeExporter commented 9 years ago
As I wrote in Issue 773, it seems Bvb_Grid_Source_Array doesn't allow IN 
filtering. Is it true? 

Original comment by antonio....@gmail.com on 15 Nov 2011 at 10:07

GoogleCodeExporter commented 9 years ago
Hi,

Now works. Check last trunk code.

Best Regards
Ivo Monteiro

Original comment by ivomonte...@gmail.com on 6 Mar 2012 at 8:10