Fix smart filters multiple conditions (#2400)

Co-authored-by: Oleg Shur <workshur@gmail.com>
This commit is contained in:
KriKiparoidze 2022-08-18 07:51:51 -05:00 committed by GitHub
parent 95a0306143
commit 26d800f997
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -223,7 +223,7 @@ const Filters: React.FC<FiltersProps> = ({
const newProps = omitBy(props, (v) => v === undefined || v === '');
const qs = Object.keys(newProps)
.map((key) => `${key}=${newProps[key]}`)
.map((key) => `${key}=${encodeURIComponent(newProps[key] as string)}`)
.join('&');
navigate({