Bugzilla – Attachment 26912 Details for
Bug 10893
Location facet not working in UNIMARC
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 10893: fix location facet in UNIMARC
Bug-10893-fix-location-facet-in-UNIMARC.patch (text/plain), 1.28 KB, created by
Mark Tompsett
on 2014-04-09 05:08:33 UTC
(
hide
)
Description:
Bug 10893: fix location facet in UNIMARC
Filename:
MIME Type:
Creator:
Mark Tompsett
Created:
2014-04-09 05:08:33 UTC
Size:
1.28 KB
patch
obsolete
>From 455c518ce199ffdf145d9d7267b92361d2b626a3 Mon Sep 17 00:00:00 2001 >From: Mathieu Saby <mathieu.saby@univ-rennes2.fr> >Date: Mon, 16 Sep 2013 11:42:44 +0200 >Subject: [PATCH] Bug 10893: fix location facet in UNIMARC > >Location facet in UNIMARC is void. In the code, it is build >on 995$c, while location is store in 995$e (see record.abs). >This patch replace 995$c with 995$e in Koha.pm > >To test : >1. Use a UNIMARC Koha instance with ONE branch, and SEVERAL > locations >2. Make a search in opac and staff interface : no location > facet on the left side of the screen >3. apply the patch >4. Make the same search : location facets will be displayed > >NOTE: I, Mark Tompsett, rebased this. I confirmed that 995$c > should be 995$e (wiki, Holdings_data_fields_(9xx) page) > Also note that the code relocated based on bug 10078, > causing the patch to not apply. >--- > C4/Koha.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/C4/Koha.pm b/C4/Koha.pm >index 4202957..ce17ee6 100644 >--- a/C4/Koha.pm >+++ b/C4/Koha.pm >@@ -712,7 +712,7 @@ sub getFacets { > { > idx => 'location', > label => 'Location', >- tags => [ qw/ 995c / ], >+ tags => [ qw/ 995e / ], > } > ]; > >-- >1.7.9.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 10893
:
21114
|
26912
|
26913
|
26916