View | Details | Raw Unified | Return to bug 15832
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt (-6 / +3 lines)
Lines 28-36 $(document).ready(function() { Link Here
28
    for ( j=0 ; j<cD.length ; j++ ) {
28
    for ( j=0 ; j<cD.length ; j++ ) {
29
        var split_array = cD[j].split(/<br>/gi);
29
        var split_array = cD[j].split(/<br>/gi);
30
        for ( k=0 ; k<split_array.length ; k++ ){
30
        for ( k=0 ; k<split_array.length ; k++ ){
31
            var check_array = $.inArray(split_array[k], new_array);
31
            var str = $.trim(split_array[k].replace(/[\n\r]/g, ''));
32
            var check_array = $.inArray(str, new_array);
32
            if (check_array == -1) {
33
            if (check_array == -1) {
33
                new_array.push(split_array[k]);
34
                new_array.push(str);
34
            }
35
            }
35
        }
36
        }
36
    }
37
    }
Lines 50-58 $(document).ready(function() { Link Here
50
      $(this).html( createSelect( holdst.fnGetColumnData(4) ) );
51
      $(this).html( createSelect( holdst.fnGetColumnData(4) ) );
51
      $('select', this).change( function () {
52
      $('select', this).change( function () {
52
          var filter_value = $(this).val();
53
          var filter_value = $(this).val();
53
          if(filter_value){
54
                filter_value = "(^|>)"+filter_value+"($|<)";
55
          }
56
          holdst.fnFilter( filter_value, 4, true );
54
          holdst.fnFilter( filter_value, 4, true );
57
      } );
55
      } );
58
  } );
56
  } );
59
- 

Return to bug 15832