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

--- Comment #4 from Marc Véron <ve...@veron.ch> ---
Created attachment 25817
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=25817&action=edit
[Signed-off] Bug 4397: Scan index search results broken for non-latin
characters

The Zoom specification defines that a ScanSet should provide a way
to retrieve terms suitable for displaying and another one for using
on further searches [1].

The Net::Z3950::ZOOM implementation actually provides both [2] but we
where using the wrong one.

Using $scanset->display_term(...) instead of $scanset->term(...) fixes the
problem.

To test:
- Do a index scan search (advanced search > more options > check 'index scan')
- Notice non-latin characters are replaced by one or more '@' symbols.
- Apply the patch
- Re-do the search, everything shows as it should.
- Try to follow any of the terms (clicking on them) and notice that
  it actually gives you relevant results (i.e. is not searching for @!!!!).
- Sign off :-D

Regards
To+

[1] http://zoom.z3950.org/api/zoom-1.4.html#3.6.3
[2]
http://search.cpan.org/~mirk/Net-Z3950-ZOOM/lib/ZOOM.pod#term()_/_display_term()

Sponsored-by: Universidad Nacional de Cordoba

Followed test plan. Patch behaves as expected.
Signed-off-by: Marc Véron <ve...@veron.ch>

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to