[Koha-bugs] [Bug 10893] Location facet not working in UNIMARC

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Apr 9 08:13:13 CEST 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10893

M. Tompsett <mtompset at hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #26912|0                           |1
        is obsolete|                            |

--- Comment #11 from M. Tompsett <mtompset at hotmail.com> ---
Created attachment 26913
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=26913&action=edit
[SIGNED OFF] 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.

Signed-off-by: Mark Tompsett <mtompset at hotmail.com>

NOTE: The location facet did not appear in master, but after
      applying the patch, it did appear.
      Because of the code being moved, it is no longer affected
      by the branch count or singleBranchMode.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list