Skip to content

Commit 1286607

Browse files
authored
Merge pull request #58 from slub/46-make-facettes-sortable
46 make facettes sortable
2 parents 6f5e70e + e44ebdf commit 1286607

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

Configuration/TypoScript/setup.typoscript

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ plugin.tx_lisztcommon_searchlisting {
4444
defaultSortBy = tx_lisztbibliography_year
4545
defaultSortDirection = asc
4646
# maxSize is the number of items loaded and hidden for "display more" button
47+
# sortByKey is an option to sort the filter items, possible values are: slub (for slub-style sorting in viewhelper) or elastic (for sort in elastic aggs options)
4748
# the filter fields
4849
filters {
4950
0 {
@@ -56,14 +57,18 @@ plugin.tx_lisztcommon_searchlisting {
5657
type = nested
5758
key = fullName
5859
select = multi
59-
maxSize = 80
60+
maxSize = 100
61+
size = 8
62+
sortByKey = slub
6063
}
6164
2 {
6265
field = tx_lisztbibliography_editors
6366
type = nested
6467
key = fullName
6568
select = multi
66-
maxSize = 80
69+
size = 8
70+
maxSize = 100
71+
sortByKey = slub
6772
}
6873
3 {
6974
field = tx_lisztbibliography_year

0 commit comments

Comments
 (0)