Should be an array, not an object.
This commit is contained in:
parent
72c16a2472
commit
506a1141f7
|
@ -40,7 +40,7 @@
|
|||
|
||||
if ( search.length ) {
|
||||
rates = _.filter( rates, function( rate ) {
|
||||
var search_text = rate.join( ' ' ).toLowerCase();
|
||||
var search_text = _.toArray( rate ).join( ' ' ).toLowerCase();
|
||||
return ( -1 !== search_text.indexOf( search ) );
|
||||
} );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue