1$(document).ready(function(){ 2 $('body').on('click', '.js_sf_submit', function(e){ 3 e.preventDefault(); 4 5 var url = ''; 6 7 $('.js_sf_item select option:selected').each(function(){ 8 var code = $(this).closest('select').attr('name'); 9 var value = $(this).val(); 10 11 if(typeof value != 'undefined' && value.length > 0){ 12 url += code+'-is-'+value+'/'; 13 } 14 }); 15 16 var final_url = ''; 17 if(url.length > 0){ 18 final_url = '/courses/filter/'+url; 19 }else{ 20 final_url = '/courses/'; 21 } 22 23 location.href = final_url; 24 }); 25 26 27 $('body').on('click', '.js_sf_reset', function(e){ 28 e.preventDefault(); 29 location.href = '/courses/'; 30 }); 31});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.