|
Lines 343-378
sub getFacets {
Link Here
|
| 343 |
{ |
343 |
{ |
| 344 |
idx => 'su-to', |
344 |
idx => 'su-to', |
| 345 |
label => 'Topics', |
345 |
label => 'Topics', |
| 346 |
tags => [qw/ 600ab 601ab 602a 604at 605a 606ax 610a /], |
346 |
tags => [qw( 600ab 601ab 602a 604at 605a 606ax 610a )], |
| 347 |
sep => ' - ', |
347 |
sep => ' - ', |
| 348 |
}, |
348 |
}, |
| 349 |
{ |
349 |
{ |
| 350 |
idx => 'su-geo', |
350 |
idx => 'su-geo', |
| 351 |
label => 'Places', |
351 |
label => 'Places', |
| 352 |
tags => [qw/ 607a /], |
352 |
tags => [qw( 607a )], |
| 353 |
sep => ' - ', |
353 |
sep => ' - ', |
| 354 |
}, |
354 |
}, |
| 355 |
{ |
355 |
{ |
| 356 |
idx => 'au', |
356 |
idx => 'au', |
| 357 |
label => 'Authors', |
357 |
label => 'Authors', |
| 358 |
tags => [qw/ 700ab 701ab 702ab /], |
358 |
tags => [qw( 700ab 701ab 702ab )], |
| 359 |
sep => C4::Context->preference("UNIMARCAuthorsFacetsSeparator"), |
359 |
sep => C4::Context->preference("UNIMARCAuthorsFacetsSeparator"), |
| 360 |
}, |
360 |
}, |
| 361 |
{ |
361 |
{ |
| 362 |
idx => 'se', |
362 |
idx => 'se', |
| 363 |
label => 'Series', |
363 |
label => 'Series', |
| 364 |
tags => [qw/ 225a /], |
364 |
tags => [qw( 225a )], |
| 365 |
sep => ', ', |
365 |
sep => ', ', |
| 366 |
}, |
366 |
}, |
| 367 |
{ |
367 |
{ |
| 368 |
idx => 'location', |
368 |
idx => 'location', |
| 369 |
label => 'Location', |
369 |
label => 'Location', |
| 370 |
tags => [qw/ 995e /], |
370 |
tags => [qw( 995e )], |
| 371 |
}, |
371 |
}, |
| 372 |
{ |
372 |
{ |
| 373 |
idx => 'ccode', |
373 |
idx => 'ccode', |
| 374 |
label => 'Collections', |
374 |
label => 'Collections', |
| 375 |
tags => [qw / 099t 955h /], |
375 |
tags => [qw( 099t 955h )], |
| 376 |
} |
376 |
} |
| 377 |
]; |
377 |
]; |
| 378 |
|
378 |
|
|
Lines 386-392
sub getFacets {
Link Here
|
| 386 |
{ |
386 |
{ |
| 387 |
idx => 'holdingbranch', |
387 |
idx => 'holdingbranch', |
| 388 |
label => 'Holding libraries', |
388 |
label => 'Holding libraries', |
| 389 |
tags => [qw / 995c /], |
389 |
tags => [qw( 995c )], |
| 390 |
} |
390 |
} |
| 391 |
); |
391 |
); |
| 392 |
} |
392 |
} |
|
Lines 399-405
sub getFacets {
Link Here
|
| 399 |
{ |
399 |
{ |
| 400 |
idx => 'homebranch', |
400 |
idx => 'homebranch', |
| 401 |
label => 'Home libraries', |
401 |
label => 'Home libraries', |
| 402 |
tags => [qw / 995b /], |
402 |
tags => [qw( 995b )], |
| 403 |
} |
403 |
} |
| 404 |
); |
404 |
); |
| 405 |
} |
405 |
} |
|
Lines 409-463
sub getFacets {
Link Here
|
| 409 |
{ |
409 |
{ |
| 410 |
idx => 'su-to', |
410 |
idx => 'su-to', |
| 411 |
label => 'Topics', |
411 |
label => 'Topics', |
| 412 |
tags => [qw/ 650a /], |
412 |
tags => [qw( 650a )], |
| 413 |
sep => '--', |
413 |
sep => '--', |
| 414 |
}, |
414 |
}, |
| 415 |
|
415 |
|
| 416 |
# { |
416 |
# { |
| 417 |
# idx => 'su-na', |
417 |
# idx => 'su-na', |
| 418 |
# label => 'People and Organizations', |
418 |
# label => 'People and Organizations', |
| 419 |
# tags => [ qw/ 600a 610a 611a / ], |
419 |
# tags => [qw( 600a 610a 611a )], |
| 420 |
# sep => 'a', |
420 |
# sep => 'a', |
| 421 |
# }, |
421 |
# }, |
| 422 |
{ |
422 |
{ |
| 423 |
idx => 'su-geo', |
423 |
idx => 'su-geo', |
| 424 |
label => 'Places', |
424 |
label => 'Places', |
| 425 |
tags => [qw/ 651a /], |
425 |
tags => [qw( 651a )], |
| 426 |
sep => '--', |
426 |
sep => '--', |
| 427 |
}, |
427 |
}, |
| 428 |
{ |
428 |
{ |
| 429 |
idx => 'su-ut', |
429 |
idx => 'su-ut', |
| 430 |
label => 'Titles', |
430 |
label => 'Titles', |
| 431 |
tags => [qw/ 630a /], |
431 |
tags => [qw( 630a )], |
| 432 |
sep => '--', |
432 |
sep => '--', |
| 433 |
}, |
433 |
}, |
| 434 |
{ |
434 |
{ |
| 435 |
idx => 'au', |
435 |
idx => 'au', |
| 436 |
label => 'Authors', |
436 |
label => 'Authors', |
| 437 |
tags => [qw/ 100a 110a 700a /], |
437 |
tags => [qw( 100a 110a 700a )], |
| 438 |
sep => ', ', |
438 |
sep => ', ', |
| 439 |
}, |
439 |
}, |
| 440 |
{ |
440 |
{ |
| 441 |
idx => 'se', |
441 |
idx => 'se', |
| 442 |
label => 'Series', |
442 |
label => 'Series', |
| 443 |
tags => [qw/ 440a 490a /], |
443 |
tags => [qw( 440a 490a )], |
| 444 |
sep => ', ', |
444 |
sep => ', ', |
| 445 |
}, |
445 |
}, |
| 446 |
{ |
446 |
{ |
| 447 |
idx => 'itype', |
447 |
idx => 'itype', |
| 448 |
label => 'Item types', |
448 |
label => 'Item types', |
| 449 |
tags => [qw/ 952y 942c /], |
449 |
tags => [qw( 952y 942c )], |
| 450 |
sep => ', ', |
450 |
sep => ', ', |
| 451 |
}, |
451 |
}, |
| 452 |
{ |
452 |
{ |
| 453 |
idx => 'location', |
453 |
idx => 'location', |
| 454 |
label => 'Location', |
454 |
label => 'Location', |
| 455 |
tags => [qw / 952c /], |
455 |
tags => [qw( 952c )], |
| 456 |
}, |
456 |
}, |
| 457 |
{ |
457 |
{ |
| 458 |
idx => 'ccode', |
458 |
idx => 'ccode', |
| 459 |
label => 'Collections', |
459 |
label => 'Collections', |
| 460 |
tags => [qw / 9528 /], |
460 |
tags => [qw( 9528 )], |
| 461 |
} |
461 |
} |
| 462 |
]; |
462 |
]; |
| 463 |
|
463 |
|
|
Lines 471-477
sub getFacets {
Link Here
|
| 471 |
{ |
471 |
{ |
| 472 |
idx => 'holdingbranch', |
472 |
idx => 'holdingbranch', |
| 473 |
label => 'Holding libraries', |
473 |
label => 'Holding libraries', |
| 474 |
tags => [qw / 952b /], |
474 |
tags => [qw( 952b )], |
| 475 |
} |
475 |
} |
| 476 |
); |
476 |
); |
| 477 |
} |
477 |
} |
|
Lines 484-490
sub getFacets {
Link Here
|
| 484 |
{ |
484 |
{ |
| 485 |
idx => 'homebranch', |
485 |
idx => 'homebranch', |
| 486 |
label => 'Home libraries', |
486 |
label => 'Home libraries', |
| 487 |
tags => [qw / 952a /], |
487 |
tags => [qw( 952a )], |
| 488 |
} |
488 |
} |
| 489 |
); |
489 |
); |
| 490 |
} |
490 |
} |