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>
|
||||
</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 }}>
|
||||
<InputLabel>{t('filters.version')}</InputLabel>
|
||||
<Select
|
||||
@@ -267,6 +254,19 @@ export default function SearchPage() {
|
||||
</Select>
|
||||
</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>
|
||||
<AccordionSummary expandIcon={<ExpandMore />}>
|
||||
<Typography variant="body2">{t('filters.specificBooks')}</Typography>
|
||||
|
||||
Reference in New Issue
Block a user