sharetribe / ftw-hourly

Flex template for Web: time-based booking processes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

searchMode: has_any on a filter config is incorrectly encoded in the API request

rdoh opened this issue · comments

Describe the bug

It is encoded incorrectly in the API request like so: pub_category=has_any%3Acar

To Reproduce Steps to reproduce the behavior:

add config: {searchMode: 'has_any'} to a SelectMultipleFilter in marketplace-custom-config

if you use the filter through the UI you will see that the first selected option appears to be ignored (i.e. results that should match this option will not be returned by the API). That's because of the encoding described above.

I'll continue next week, but a couple of questions first:

I wasn't able to reproduce this. My assumption is that the bug happened due to undefined or wrong schema for the particular public data key.

There hasn't been any activity for a while, so closing this for now.