[Bug 7586] New: Search: Language restriction does show expected results (no items shown)
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@myacpl.org ReportedBy: veron@veron.ch QAContact: koha.sekjal@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.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7586 Marc Balmer <marc@msys.ch> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |marc@msys.ch -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7586 Marc Véron <veron@veron.ch> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Search: Language |Search: Language |restriction does show |restriction does NOT show |expected results (no items |expected results (no items |shown) |shown) -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7586 Marc Véron <veron@veron.ch> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |veron@veron.ch Assignee|oleonard@myacpl.org |veron@veron.ch -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7586 --- Comment #1 from Marc Véron <veron@veron.ch> --- Created attachment 9983 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=9983&action=edit Bug 7586 - Search: Language restriction does NOT show expected results (no items shown) modified: etc/zebradb/marc_defs/marc21/biblios/record.abs -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7586 Marc Véron <veron@veron.ch> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - low |P1 - high Status|NEW |Needs Signoff Version|unspecified |master -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7586 Chris Cormack <chris@bigballofwax.co.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #9983|0 |1 is obsolete| | --- Comment #2 from Chris Cormack <chris@bigballofwax.co.nz> --- Created attachment 9989 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=9989&action=edit Bug 7586 - Search: Language restriction does NOT show expected results (no items shown) modified: etc/zebradb/marc_defs/marc21/biblios/record.abs Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7586 Chris Cormack <chris@bigballofwax.co.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off CC| |chris@bigballofwax.co.nz -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7586 M. de Rooy <m.de.rooy@rijksmuseum.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P1 - high |P5 - low CC| |m.de.rooy@rijksmuseum.nl QA Contact|koha.sekjal@gmail.com |m.de.rooy@rijksmuseum.nl Severity|critical |minor --- Comment #3 from M. de Rooy <m.de.rooy@rijksmuseum.nl> --- QA Comment: Good catch, Marc. Simple but effective change. Looks good. Passed QA Note: I am lowering the priority. This is not that critical ;) -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7586 Paul Poulain <paul.poulain@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Passed QA CC| |paul.poulain@biblibre.com --- Comment #4 from Paul Poulain <paul.poulain@biblibre.com> --- QA comment: really tiny patch, that just move ln:n:range(data,35,3) to ln:w:range(data,35,3) in a very long line. passed QA -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7586 Paul Poulain <paul.poulain@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Passed QA |Pushed to Master Version|master |rel_3_8 Severity|minor |normal --- Comment #5 from Paul Poulain <paul.poulain@biblibre.com> --- Not a so minor bugfix, worth porting to 3.8.x (and be announced in the release notes, as it requires a copy of .abs file and full reindexing -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7586 --- Comment #6 from Paul Poulain <paul.poulain@biblibre.com> --- IMPORTANT NOTICE: Yesterday, I pushed the DOM indexing patch, that replaces, for new setup, record.abs to biblio-koha-indexdef.xml If I'm not wrong, the patch must also be ported here: <index_control_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="008" offset="35" length="3"> <target_index>ln:n</target_index> => it should be <index_control_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="008" offset="35" length="3"> <target_index>ln:w</target_index> isn't it ? -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org