[Koha-bugs] [Bug 7586] New: Search: Language restriction does show expected results (no items shown)

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Feb 23 17:26:11 CET 2012


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

             Bug #: 7586
           Summary: Search: Language restriction does show expected
                    results (no items shown)
    Classification: Unclassified
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: critical
          Priority: P5 - low
         Component: OPAC
        AssignedTo: oleonard at myacpl.org
        ReportedBy: veron at veron.ch
         QAContact: koha.sekjal at gmail.com


Description:
------------

We have records with the language set to German in field 008 Range 35-37

The Opac search does not find the items if the languages is restricted to
German in the drop down box.

The bug can be reproduced as well with a keyword search:
ln:ger

Solution:
---------
as adviced by jcamins on the Koha channel (Thanks!):

open up etc/zebradb/marc_defs/marc21/biblio/record.abs
Look for the 008 line.
You should see ln somewhere on it.
I theorize that it's back to a numeric index.
It'll look something like ln(xx,yy):n if I'm right.
If I'm wrong, there will be a :w instead of :n

We found: lm:n:range(data,35,3)

jcamins: Needs to be ln:w:range(data,35,3)

We changed it and did:

koha-rebuild-zebra --full

After the rebuild the German records are found as expected.

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the Koha-bugs mailing list