portality/static/widget/fq_widget_depends_compiled.js
// function to switch filters to OR instead of AND
function to switch filters to OR instead of AND
function to switch filters to OR instead of AND
function clickOr(event) {
            event.preventDefault();
            var orwhat = selectFacet(options, $(this).attr('href'));
            var cycle = {
                "OR" : "AND",
                "AND" : "OR"
            }
            orwhat["logic"] = cycle[orwhat["logic"]];
            options.behaviour_set_facet_and_or(options, obj, {facet: orwhat});
            options.behaviour_set_selected_filters(options, obj);
            doSearch();
        }
function clickOr ( event ) { event . preventDefault ( ) ; var orwhat = selectFacet ( options , $ ( this ) . attr ( 'href' ) ) ; var cycle = { "OR" : "AND" , "AND" : "OR" } orwhat [ "logic" ] = cycle [ orwhat [ "logic" ] ] ; options . behaviour_set_facet_and_or ( options , obj , { facet : orwhat } ) ; options . behaviour_set_selected_filters ( options , obj ) ; doSearch ( ) ; }
function to switch filters to OR instead of AND
function to switch filters to OR instead of AND