javascript/web/Matrix.js
function _get_filters(filter_manager){

    var lstate = filter_manager.get_filter_query_string();
    var lparams = bbop.url_parameters(decodeURIComponent(lstate));
    var filters_as_strings = [];
    us.each(lparams, function(lparam){
	if( lparam[0] === 'fq' && lparam[1] ){
	    filters_as_strings.push(lparam[1]);
	}
    });
    //console.log('pass filter state: ', filters_as_strings);

    return filters_as_strings;
}
function _get_filters(filter_manager){

    var lstate = filter_manager.get_filter_query_string();
    var lparams = bbop.url_parameters(decodeURIComponent(lstate));
    var filters_as_strings = [];
    us.each(lparams, function(lparam){
	if( lparam[0] === 'fq' && lparam[1] ){
	    filters_as_strings.push(lparam[1]);
	}
    });
    //console.log('pass filter state: ', filters_as_strings);

    return filters_as_strings;
}
function _get_filters ( filter_manager ) { var lstate = filter_manager . get_filter_query_string ( ) ; var lparams = bbop . url_parameters ( decodeURIComponent ( lstate ) ) ; var filters_as_strings = [ ] ; us . each ( lparams , function ( lparam ) { if ( lparam [ 0 ] === 'fq' && lparam [ 1 ] ) { filters_as_strings . push ( lparam [ 1 ] ) ; } } ) ; //console.log('pass filter state: ', filters_as_strings); return filters_as_strings ; }
Extract the filters being used in the filter manager.
Extract the filters being used in the filter manager .