From 30326abd15ffe9a2d316711cb3e8953ae6dace6f Mon Sep 17 00:00:00 2001 From: Adrien Saurat Date: Thu, 5 Jul 2012 14:27:20 +0200 Subject: [PATCH] Bug 8360: corrects UNIMARC facet construction for OPAC Adds wrdl on limit part of the query. --- C4/Koha.pm | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/C4/Koha.pm b/C4/Koha.pm index 4f386e4..f8244e0 100644 --- a/C4/Koha.pm +++ b/C4/Koha.pm @@ -684,7 +684,7 @@ sub getFacets { if ( C4::Context->preference("marcflavour") eq "UNIMARC" ) { $facets = [ { - idx => 'su-to', + idx => 'su-to,wrdl', label => 'Topics', tags => [ qw/ 600a 601a 602a 603a 604a 605a 606ax 610a/ ], sep => ' - ', @@ -696,19 +696,19 @@ sub getFacets { sep => ' - ', }, { - idx => 'su-ut', + idx => 'su-ut,wrdl', label => 'Titles', tags => [ qw/ 500a 501a 502a 503a 504a / ], sep => ', ', }, { - idx => 'au', + idx => 'au,wrdl', label => 'Authors', tags => [ qw/ 700ab 701ab 702ab / ], sep => ', ', }, { - idx => 'se', + idx => 'se,wrdl', label => 'Series', tags => [ qw/ 225a / ], sep => ', ', -- 1.7.4.1