[Koha] "Refine your search" in Koha 3.16

Chris Cormack chrisc at catalyst.net.nz
Wed Aug 20 10:55:50 NZST 2014


* Witoszynskyj Stephan (stephan at wito.org) wrote:
> Hi,
> 
> it’s basically the first time that I had a closer look at Koha’s source code and my knowledge of Perl is limited. So, I must admit that I don’t quite understand how things work.
> 
> what is $marc_record->field($tag_num) in line 531 of C4/Search.pm supposed to return?
> If I use only the first element of the array that is returned by this line, the facets seem to be correct.


Its not that issue, but you are close, if you check the patch, on the bug it should 
help 

Probably we should move this to the koha-devel list if you want to discuss code specifics :)

Chris

> 
> Regards,
>   Stephan
> 
> 
> 
> Am 19.08.2014 um 22:46 schrieb Chris Cormack <chrisc at catalyst.net.nz>:
> 
> > * Hernandez, Heather (heather_hernandez at nps.gov) wrote:
> >> Hi--
> >> 
> >> Elaine and Stephen, I agree--this isn't good!  In our catalog (also 3.16),
> >> if you click one of the facets from a 400 field, it does return correct
> >> results based on the 100 field--e.g., if you do a search on Sea Poetry:
> >> http://keys.bywatersolutions.com/cgi-bin/koha/opac-search.pl?q=sea+poetry
> >> 
> > Hi All
> > 
> > Please file a bug report for this at bugs.koha-community.org
> > 
> > We think we have tracked it down to something to do with fix for large MARC records
> > But are continuing to work on it. 
> > It is something to do with the IncludeSeeFromInSearches systempreference
> > If you have had this on, or have it on, it makes the links so that when you search for
> > the 400, you can still find results.
> > 
> > To do this its linked, however in 3.12.x and 3.14.x it appears these links were filtered
> > out when building the facets and for some reason this is not occuring.
> > 
> > I think its to do with an indicator of z that gets added to 100 (of the biblio) on indexing (you wont see
> > it on the record itself, its added when indexing)
> > 
> > The old code got rid of this, so no, this is not required behaviour
> > 
> > 
> > Chris
> > 
> > -- 
> > Chris Cormack
> > Catalyst IT Ltd.
> > +64 4 803 2238
> > PO Box 11-053, Manners St, Wellington 6142, New Zealand
> > _______________________________________________
> > Koha mailing list  http://koha-community.org
> > Koha at lists.katipo.co.nz
> > http://lists.katipo.co.nz/mailman/listinfo/koha
> 

-- 
Chris Cormack
Catalyst IT Ltd.
+64 4 803 2238
PO Box 11-053, Manners St, Wellington 6142, New Zealand


More information about the Koha mailing list