angular-filter icon indicating copy to clipboard operation
angular-filter copied to clipboard

Compound filters

Open subarroca opened this issue 10 years ago • 4 comments

Is there any way to use latinize and filterBy all together? I guess there would be other cases to allow this too.

subarroca avatar Mar 23 '15 09:03 subarroca

+1 for this. I'd like to use latinize and fuzzyBy.

alexandernst avatar May 26 '15 17:05 alexandernst

Can you please provide some example @alex-sherwin ? Thanks.

a8m avatar May 26 '15 17:05 a8m

@a8m Im my case, I have an array of objects, each of those object containing a string with some non-latin characters. I'd like to make something like: my_arrays | latinize | fuzzyBy : strprop : test. That way, all string in strprop would be latinized before matched by the fuzzyBy filter.

alexandernst avatar May 26 '15 18:05 alexandernst

Make sense. I'll try to add it to v0.5.5, But of course you can feel free to PR. Thx.

a8m avatar May 26 '15 18:05 a8m