Lines 425-439
sub _convert_facets {
Link Here
|
425 |
# things that zebra uses. |
425 |
# things that zebra uses. |
426 |
# TODO let the library define the order using the interface. |
426 |
# TODO let the library define the order using the interface. |
427 |
my %type_to_label = ( |
427 |
my %type_to_label = ( |
428 |
author => { order => 1, label => 'Authors', }, |
428 |
author => { order => 1, label => 'Authors', }, |
429 |
itype => { order => 2, label => 'ItemTypes', }, |
429 |
itype => { order => 2, label => 'ItemTypes', }, |
430 |
location => { order => 3, label => 'Location', }, |
430 |
location => { order => 3, label => 'Location', }, |
431 |
'su-geo' => { order => 4, label => 'Places', }, |
431 |
'su-geo' => { order => 4, label => 'Places', }, |
432 |
se => { order => 5, label => 'Series', }, |
432 |
se => { order => 5, label => 'Series', }, |
433 |
subject => { order => 6, label => 'Topics', }, |
433 |
subject => { order => 6, label => 'Topics', }, |
434 |
ccode => { order => 7, label => 'CollectionCodes',}, |
434 |
ccode => { order => 7, label => 'CollectionCodes',}, |
435 |
holdingbranch => { order => 8, label => 'HoldingLibrary' }, |
435 |
holdingbranch => { order => 8, label => 'HoldingLibrary' }, |
436 |
homebranch => { order => 9, label => 'HomeLibrary' } |
436 |
homebranch => { order => 9, label => 'HomeLibrary' }, |
|
|
437 |
ln => { order => 10, label => 'Language' } |
437 |
); |
438 |
); |
438 |
|
439 |
|
439 |
# We also have some special cases, e.g. itypes that need to show the |
440 |
# We also have some special cases, e.g. itypes that need to show the |