Bug 8360

Summary: Author facet not working
Product: Koha Reporter: Adrien SAURAT <adrien.saurat>
Component: OPACAssignee: Fridolin Somers <fridolin.somers>
Status: CLOSED INVALID QA Contact:
Severity: normal    
Priority: P5 - low CC: f.demians, fridolin.somers, gaetan.boisson, mathsabypro, mirko
Version: Main   
Hardware: All   
OS: All   
See Also: http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10891
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Attachments: proposed patch #1

Description Adrien SAURAT 2012-07-05 12:21:06 UTC
After a search on the OPAC, clicking on the Author facet gives bad results, sometimes an empty screen when several biblios should appear.

It is so in UNIMARC at least, and I'll propose a patch for this (correcting the facet construction by adding wordlist "wrdl" to the limit parameter), but if MARC21 biblios have the same problem I'll make a version with both codes modified.
Comment 1 Adrien SAURAT 2012-07-05 12:29:09 UTC Comment hidden (obsolete)
Comment 2 Frédéric Demians 2012-07-07 06:31:01 UTC
I confirm the bug. Why 'wrdl' and not 'phr'?
Comment 3 Gaetan Boisson 2012-07-10 13:06:10 UTC
*** Bug 8345 has been marked as a duplicate of this bug. ***
Comment 4 Jared Camins-Esakov 2012-07-20 18:33:40 UTC
I would agree that this should probably be ,phr. Is there a reason you chose ,wrdl, Adrien?
Comment 5 Gaetan Boisson 2012-11-12 10:44:43 UTC
I can't say what the reason was for Adrien to choose wrdl, but i just tried both on an instance where i encountered the problem, and using phr doesn't give any result, whereas wrdl does.
Comment 6 Fridolin Somers 2013-07-08 09:00:12 UTC
I think this patch is not a solution.

We know the search with "phrase" structure (witch in implicit for Zebra) sometimes does not work.

But using "word list" is wrong because it performs a search of words without order. There can be problems with some facets, for example authors "Pierre JUSTE" and "Juste PIERRE". A click on a facet "au,wrld=Pierre JUSTE" will return results with both authors.

Problems must be fixed in search engine.
Comment 7 Mathieu Saby 2013-09-16 07:44:26 UTC
I have a plan to improve facets. Could you please take a look and comment the bug if you have any remarks?
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10891

M. Saby
Comment 8 Fridolin Somers 2013-09-18 12:31:03 UTC
I've found the primary cause of this bug : when using GRS1, only ICU allows to search a phrase with words over several subfields.
I set invalid.