Move version selector to be the first filter on /[locale]/search sidebar.
This commit is contained in:
@@ -239,19 +239,6 @@ export default function SearchPage() {
|
|||||||
</Button>
|
</Button>
|
||||||
</Box>
|
</Box>
|
||||||
|
|
||||||
<FormControl fullWidth sx={{ mb: 2 }}>
|
|
||||||
<InputLabel>{t('filters.testament')}</InputLabel>
|
|
||||||
<Select
|
|
||||||
value={filters.testament}
|
|
||||||
label={t('filters.testament')}
|
|
||||||
onChange={(e) => setFilters({ ...filters, testament: e.target.value as any })}
|
|
||||||
>
|
|
||||||
<MenuItem value="all">{t('filters.options.all')}</MenuItem>
|
|
||||||
<MenuItem value="old">{t('filters.options.old')}</MenuItem>
|
|
||||||
<MenuItem value="new">{t('filters.options.new')}</MenuItem>
|
|
||||||
</Select>
|
|
||||||
</FormControl>
|
|
||||||
|
|
||||||
<FormControl fullWidth sx={{ mb: 2 }}>
|
<FormControl fullWidth sx={{ mb: 2 }}>
|
||||||
<InputLabel>{t('filters.version')}</InputLabel>
|
<InputLabel>{t('filters.version')}</InputLabel>
|
||||||
<Select
|
<Select
|
||||||
@@ -267,6 +254,19 @@ export default function SearchPage() {
|
|||||||
</Select>
|
</Select>
|
||||||
</FormControl>
|
</FormControl>
|
||||||
|
|
||||||
|
<FormControl fullWidth sx={{ mb: 2 }}>
|
||||||
|
<InputLabel>{t('filters.testament')}</InputLabel>
|
||||||
|
<Select
|
||||||
|
value={filters.testament}
|
||||||
|
label={t('filters.testament')}
|
||||||
|
onChange={(e) => setFilters({ ...filters, testament: e.target.value as any })}
|
||||||
|
>
|
||||||
|
<MenuItem value="all">{t('filters.options.all')}</MenuItem>
|
||||||
|
<MenuItem value="old">{t('filters.options.old')}</MenuItem>
|
||||||
|
<MenuItem value="new">{t('filters.options.new')}</MenuItem>
|
||||||
|
</Select>
|
||||||
|
</FormControl>
|
||||||
|
|
||||||
<Accordion>
|
<Accordion>
|
||||||
<AccordionSummary expandIcon={<ExpandMore />}>
|
<AccordionSummary expandIcon={<ExpandMore />}>
|
||||||
<Typography variant="body2">{t('filters.specificBooks')}</Typography>
|
<Typography variant="body2">{t('filters.specificBooks')}</Typography>
|
||||||
|
|||||||
Reference in New Issue
Block a user