portality/static/widget/fq_widget_depends_compiled.js
// adjust how many results are shown
adjust how many results are shown
adjust how many results are shown
function clickMoreFacetVals(event) {
            event.preventDefault();
            var morewhat = selectFacet(options, $(this).attr("href"));
            if ('size' in morewhat ) {
                var currentval = morewhat['size'];
            } else {
                var currentval = options.default_facet_size;
            }
            var newmore = prompt('Currently showing ' + currentval + '. How many would you like instead?');
            if (newmore) {
                morewhat['size'] = parseInt(newmore);
                options.behaviour_set_facet_size(options, obj, {facet: morewhat})
                doSearch();
            }
        }
function clickMoreFacetVals ( event ) { event . preventDefault ( ) ; var morewhat = selectFacet ( options , $ ( this ) . attr ( "href" ) ) ; if ( 'size' in morewhat ) { var currentval = morewhat [ 'size' ] ; } else { var currentval = options . default_facet_size ; } var newmore = prompt ( 'Currently showing ' + currentval + '. How many would you like instead?' ) ; if ( newmore ) { morewhat [ 'size' ] = parseInt ( newmore ) ; options . behaviour_set_facet_size ( options , obj , { facet : morewhat } ) doSearch ( ) ; } }
adjust how many results are shown
adjust how many results are shown