[Koha-patches] [PATCH] Bug 6265: Authority search in OPAC not exact
LAURENT Henri-Damien
henridamien.laurent at biblibre.com
Fri Apr 29 01:12:40 CEST 2011
Le 25/04/2011 21:57, Katrin Fischer a écrit :
> The search for linked records from the full heading page was not exact.
> ---
> .../prog/en/modules/opac-authoritiesdetail.tt | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-authoritiesdetail.tt b/koha-tmpl/opac-tmpl/prog/en/modules/opac-authoritiesdetail.tt
> index db354d3..048de5b 100644
> --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-authoritiesdetail.tt
> +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-authoritiesdetail.tt
> @@ -61,7 +61,7 @@ function showChildren(mynumber) {
> </div>
> [% END %]
> <h1>Entry [% authtypetext %]</h1>
> - <p>Used in <a href="opac-search.pl?type=opac&q=[% authid %]&idx=an">[% count %] records</a></p>
> + <p>Used in <a href="opac-search.pl?type=opac&q=[% authid %]&idx=an,phr">[% count %] records</a></p>
> [% FOREACH Tag0X IN Tab0XX %]
> <p><b>[% Tag0X.tag %]</b></p>
> <ul>
imho, phr is not really what we would like.
What would best fit is the usage of ext... But that would require a
change in the koha-Auth-Number indexing and reindexing the biblios....
use
elm xxx$9 Koha-Auth-Number:w,Koha-Auth-Number:p,Koha-Auth-Number:n
n declaration should be optionnal.
Which may not be what we want either.
there are other places where this is required and needed
xslt, opac-detail and intranet detail
hope that helps.
But thanks for your proposition.
More information about the Koha-patches
mailing list