Should be an array, not an object.

This commit is contained in:
George Stephanis 2015-08-12 14:41:52 -04:00
parent 72c16a2472
commit 506a1141f7
1 changed files with 1 additions and 1 deletions

View File

@ -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 ) );
} );
}