I made a comment about it in GitHub, but just want...
# community-help
j
I made a comment about it in GitHub, but just wanted to check in here. Does the
numericFilter
for the search adapter need to account for
=
in its RegEx? I think it's missing and can make a PR, but just wanted to check before moving forward (referring to here)
j
@Jordan Lewallen Good catch. It looks like Algolia uses
=
for equality, and I thought it used
:
for equality for some reason. This is the updated that Regex that works for all the cases I tested:
(.*?)(<=|>=|>|<|:|=)(.*)
I'd appreciate a PR!
(needed to add an extra non-greedy matcher
?
in the beginning to get it to work as expected)
j
@Jason Bosco awesome! Thanks for confirming and for sharing the correct version, I'll submit a PR for this later today
🙏 1