Bug report: LABKEY.QueryWebPart() dropping filter

LabKey Support Forum (Inactive)
Bug report: LABKEY.QueryWebPart() dropping filter Will Holtz  2016-01-10 08:13
Status: Closed
 
Here are the steps to reproduce this bug:
1) Create a LABKEY.QueryWebPart():

<div id='WebPartBugDiv'/>
Ext4.onReady(function() {
    var qwp1 = new LABKEY.QueryWebPart({
        renderTo: 'WebPartBugDiv',
        schemaName: 'core',
        queryName: 'users'
    });
});

2) click on the header row of the email column and select 'Filter...' from the drop down menu.
3) Within the single dialog box, add two filters of the same filter type: contains 'foo' and contains 'bar'
4) click ok to close the filter dialog
5) note that filter status displayed under the button bar only lists "(Email CONTAINS bar)" and not "(Email CONTAINS foo) and (Email CONTAINS bar)"

This bug appears to be limited to the LABKEY.QueryWebPart(), as grids from java modules do not display this behavior. Also, repeatedly adding a single filter via the dialog box works, so it is something about adding two filters within a single dialog box. And adding two filters of different types within a single dialog box works.

-Will
 
 
Jon (LabKey DevOps) responded:  2016-01-12 18:53
Thanks Will.

I've confirmed the same behavior and this appears to just be with the wiki. When the actual table in question is edited with the filters, both contains options appear on the screen.

I've create a bug for the behavior and have escalated the issue: https://www.labkey.org/home/Developer/issues/issues-details.view?issueId=25337

Regards,

Jon
 
Jon (LabKey DevOps) responded:  2016-02-28 18:58
Hi Will,

The trunk build (r42336) has been updated with a fix for this. This will also be available in the upcoming 16.1 LabKey Release build in March.

Regards,

Jon