|
@@ -12,6 +12,7 @@ import ThemedTextButton from '../../components/molecules/Buttons/ThemeTextButton
|
|
import fonts from '../../constants/fonts'
|
|
import fonts from '../../constants/fonts'
|
|
import HorizontalNewsCardVariant from '../../components/molecules/Cards/HorizontalNewsCardVariant'
|
|
import HorizontalNewsCardVariant from '../../components/molecules/Cards/HorizontalNewsCardVariant'
|
|
|
|
|
|
|
|
+
|
|
const SearchListPage = props => {
|
|
const SearchListPage = props => {
|
|
const {
|
|
const {
|
|
navigation,
|
|
navigation,
|
|
@@ -152,8 +153,8 @@ const SearchListPage = props => {
|
|
const createFilters = (filterObject) => {
|
|
const createFilters = (filterObject) => {
|
|
let filterText = ""
|
|
let filterText = ""
|
|
for (const obj of Object.entries(filterObject)) {
|
|
for (const obj of Object.entries(filterObject)) {
|
|
- for (const category of Object.entries(obj[1])) {
|
|
|
|
- if (category[1] === true) {
|
|
|
|
|
|
+ for (const filter of Object.entries(obj[1])) {
|
|
|
|
+ if (filter[1] === true) {
|
|
filterText += `&${obj[0]}=${category[0]}`
|
|
filterText += `&${obj[0]}=${category[0]}`
|
|
}
|
|
}
|
|
}
|
|
}
|