Skip to content

Commit 23699a5

Browse files
committed
Disable sort by in Search page until we've upgraded the plan
1 parent 4189e09 commit 23699a5

File tree

1 file changed

+11
-8
lines changed
  • packages/app/src/app/pages/Search/Filters

1 file changed

+11
-8
lines changed

packages/app/src/app/pages/Search/Filters/index.js

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,17 @@ import Sort from './Filter/Sort';
88

99
const Filters = () => (
1010
<Container>
11-
<Sort
12-
defaultRefinement={ALGOLIA_DEFAULT_INDEX}
13-
items={[
14-
{ value: ALGOLIA_DEFAULT_INDEX, label: 'Views' },
15-
{ value: `${ALGOLIA_DEFAULT_INDEX}_date`, label: 'Date' },
16-
]}
17-
title="Sort By"
18-
/>
11+
{/* Enable once our index is back online */}
12+
{false && (
13+
<Sort
14+
defaultRefinement={ALGOLIA_DEFAULT_INDEX}
15+
items={[
16+
{ value: ALGOLIA_DEFAULT_INDEX, label: 'Views' },
17+
{ value: `${ALGOLIA_DEFAULT_INDEX}_date`, label: 'Date' },
18+
]}
19+
title="Sort By"
20+
/>
21+
)}
1922

2023
<Filter
2124
attributeName="template"

0 commit comments

Comments
 (0)