Issue with LABKEY.ext.Store | Leo Dashevskiy | 2013-01-10 15:41 | |||||||||
Status: Closed | |||||||||||
Good day! While upgrading from server version 12.1 to server version 12.3, I ran into an issue with LABKEY.ext.Store It seems important to mention that my instance used the 'sql' config option. The way I have used it in the past was: filterArrayToApply.push( LABKEY.Filter.create( <column name>, <values separated by ;>, LABKEY.Filter.Types.IN ) ); strFilteredTable.setUserFilters(filterArrayToApply); strFilteredTable.load(); and this worked as I expected, filtering the store nicely in 12.1 (as per Ben's recommendation in the past). It does not work so for 12.3 - the filtering does not seem to happen at all. Btw, is it okey, that when the superclass constructor is called, the qsParams is empty, whereas baseParams is not? So here is a glimpse at a part of the state of the store before and after the code above is run: before: strFilteredTable.getUserFilters() [] after: strFilteredTable.getUserFilters() [ Object ] So the filter gets written, but does not seem to get applied! FYI: Core 12.32 Build OS Mac OS X Build Path /Library/LabKey/server/../build/modules/core Build Time January 11 2013, 9:44 AM Build User cytomatic Extracted Path /Library/LabKey/build/deploy/modules/core Module Class org.labkey.core.CoreModule Module Dependencies <none> SVN Revision 23982 SVN URL https://hedgehog.fhcrc.org/tor/stedi/trunk/server Version 12.32 Please, advise! |
|||||||||||
| |||||||||||