|
Lines 126-132
sub _get_chunk {
Link Here
|
| 126 |
|
126 |
|
| 127 |
# Dynamic locale detection for facet sorting using Koha::I18N |
127 |
# Dynamic locale detection for facet sorting using Koha::I18N |
| 128 |
require Koha::I18N; |
128 |
require Koha::I18N; |
| 129 |
$chunk->{'choices'} = Koha::I18N::available_locales(); |
129 |
$chunk->{'CHOICES'} = Koha::I18N::available_locales(); |
| 130 |
$chunk->{'type'} = 'select'; |
130 |
$chunk->{'type'} = 'select'; |
| 131 |
} elsif ( $options{'choices'} ) { |
131 |
} elsif ( $options{'choices'} ) { |
| 132 |
my $add_blank; |
132 |
my $add_blank; |
| 133 |
- |
|
|