[Koha-patches] [PATCH] Bug 5978 Follow-up : MT3513 followup : searching authorities

Matthias Meusburger matthias.meusburger at biblibre.com
Mon Apr 4 16:28:40 CEST 2011


  looking for authorities via authority number has to do exact search.
  Follow-up : The use of wrdl did not perform exact search.
  This patch uses ext, which does.
---
 etc/zebradb/marc_defs/unimarc/biblios/record.abs   |   82 ++++++++++----------
 .../modules/opac-authoritiessearchresultlist.tmpl  |    2 +-
 2 files changed, 42 insertions(+), 42 deletions(-)

diff --git a/etc/zebradb/marc_defs/unimarc/biblios/record.abs b/etc/zebradb/marc_defs/unimarc/biblios/record.abs
index 9406aac..acb1578 100644
--- a/etc/zebradb/marc_defs/unimarc/biblios/record.abs
+++ b/etc/zebradb/marc_defs/unimarc/biblios/record.abs
@@ -89,21 +89,21 @@ melm 200$f		Author:w,Author:p
 # other Authors
 melm 200$g		Author:w,Author:p
 # physical Author
-melm 700$9      Koha-Auth-Number,Koha-Auth-Number:n
+melm 700$9      Koha-Auth-Number,Koha-Auth-Number:p,Koha-Auth-Number:n
 melm 700$a      Author,Author-name-personal,Author:p,Author-name-personal:p,Author-name-personal,Author:s
 melm 700        Author,Author-name-personal,Author:p,Author-name-personal:p,Author-name-personal:p
-melm 701$9      Koha-Auth-Number,Koha-Auth-Number:n
+melm 701$9      Koha-Auth-Number,Koha-Auth-Number:p,Koha-Auth-Number:n
 melm 701        Author,Author-name-personal,Author:p,Author-name-personal:p,Author-name-personal:p
-melm 702$9      Koha-Auth-Number,Koha-Auth-Number:n
+melm 702$9      Koha-Auth-Number,Koha-Auth-Number:p,Koha-Auth-Number:n
 melm 702        Author,Author-name-personal,Author:p,Author-name-personal:p,Author-name-personal:p
 
 # collective Author
-melm 710$9        Koha-Auth-Number,Koha-Auth-Number:n
+melm 710$9        Koha-Auth-Number,Koha-Auth-Number:p,Koha-Auth-Number:n
 melm 710    Author,Author-name-corporate,Author-name-conference,Corporate-name,Conference-name,Author:p,Author-name-corporate:p,Author-name-conference:p,Corporate-name:p,Conference-name:p
-melm 711$9        Koha-Auth-Number,Koha-Auth-Number:n
+melm 711$9        Koha-Auth-Number,Koha-Auth-Number:p,Koha-Auth-Number:n
 melm 711    Author,Author-name-corporate,Author-name-conference,Corporate-name,Conference-name,Author:p,Author-name-corporate:p,Author-name-conference:p,Corporate-name:p,Conference-name:p
 
-melm 712$9        Koha-Auth-Number,Koha-Auth-Number:n
+melm 712$9        Koha-Auth-Number,Koha-Auth-Number:p,Koha-Auth-Number:n
 melm 712    Author,Author-name-corporate,Author-name-conference,Corporate-name,Conference-name,Author:p,Author-name-corporate:p,Author-name-conference:p,Corporate-name:p,Conference-name:p
 
 ############## TITLE ##################
@@ -232,25 +232,25 @@ melm 445$d    pubdate:n
 melm 461$d    pubdate:n
 
 # Authorities Title
-melm 500$9    Koha-Auth-Number,Koha-Auth-Number:n
-melm 501$9    Koha-Auth-Number,Koha-Auth-Number:n
-melm 503$9    Koha-Auth-Number,Koha-Auth-Number:n
-melm 510$9    Koha-Auth-Number,Koha-Auth-Number:n
-melm 512$9    Koha-Auth-Number,Koha-Auth-Number:n
-melm 513$9    Koha-Auth-Number,Koha-Auth-Number:n
-melm 514$9    Koha-Auth-Number,Koha-Auth-Number:n
-melm 515$9    Koha-Auth-Number,Koha-Auth-Number:n
-melm 516$9    Koha-Auth-Number,Koha-Auth-Number:n
-melm 517$9    Koha-Auth-Number,Koha-Auth-Number:n
-melm 518$9    Koha-Auth-Number,Koha-Auth-Number:n
-melm 519$9    Koha-Auth-Number,Koha-Auth-Number:n
-melm 520$9    Koha-Auth-Number,Koha-Auth-Number:n
-melm 530$9    Koha-Auth-Number,Koha-Auth-Number:n
-melm 531$9    Koha-Auth-Number,Koha-Auth-Number:n
-melm 532$9    Koha-Auth-Number,Koha-Auth-Number:n
-melm 540$9    Koha-Auth-Number,Koha-Auth-Number:n
-melm 541$9    Koha-Auth-Number,Koha-Auth-Number:n
-melm 545$9    Koha-Auth-Number,Koha-Auth-Number:n
+melm 500$9    Koha-Auth-Number,Koha-Auth-Number:p,Koha-Auth-Number:n
+melm 501$9    Koha-Auth-Number,Koha-Auth-Number:p,Koha-Auth-Number:n
+melm 503$9    Koha-Auth-Number,Koha-Auth-Number:p,Koha-Auth-Number:n
+melm 510$9    Koha-Auth-Number,Koha-Auth-Number:p,Koha-Auth-Number:n
+melm 512$9    Koha-Auth-Number,Koha-Auth-Number:p,Koha-Auth-Number:n
+melm 513$9    Koha-Auth-Number,Koha-Auth-Number:p,Koha-Auth-Number:n
+melm 514$9    Koha-Auth-Number,Koha-Auth-Number:p,Koha-Auth-Number:n
+melm 515$9    Koha-Auth-Number,Koha-Auth-Number:p,Koha-Auth-Number:n
+melm 516$9    Koha-Auth-Number,Koha-Auth-Number:p,Koha-Auth-Number:n
+melm 517$9    Koha-Auth-Number,Koha-Auth-Number:p,Koha-Auth-Number:n
+melm 518$9    Koha-Auth-Number,Koha-Auth-Number:p,Koha-Auth-Number:n
+melm 519$9    Koha-Auth-Number,Koha-Auth-Number:p,Koha-Auth-Number:n
+melm 520$9    Koha-Auth-Number,Koha-Auth-Number:p,Koha-Auth-Number:n
+melm 530$9    Koha-Auth-Number,Koha-Auth-Number:p,Koha-Auth-Number:n
+melm 531$9    Koha-Auth-Number,Koha-Auth-Number:p,Koha-Auth-Number:n
+melm 532$9    Koha-Auth-Number,Koha-Auth-Number:p,Koha-Auth-Number:n
+melm 540$9    Koha-Auth-Number,Koha-Auth-Number:p,Koha-Auth-Number:n
+melm 541$9    Koha-Auth-Number,Koha-Auth-Number:p,Koha-Auth-Number:n
+melm 545$9    Koha-Auth-Number,Koha-Auth-Number:p,Koha-Auth-Number:n
 
 melm 500		Title,Title:p
 melm 501		Title,Title:p
@@ -273,22 +273,22 @@ melm 541		Title,Title:p
 melm 545		Title,Title:p
 
 ########### SUBJECTS (6xx) ##################
-melm 600$9      Koha-Auth-Number,Koha-Auth-Number:n
-melm 601$9      Koha-Auth-Number,Koha-Auth-Number:n
-melm 602$9      Koha-Auth-Number,Koha-Auth-Number:n
-melm 603$9      Koha-Auth-Number,Koha-Auth-Number:n
-melm 604$9      Koha-Auth-Number,Koha-Auth-Number:n
-melm 605$9      Koha-Auth-Number,Koha-Auth-Number:n
-melm 606$9      Koha-Auth-Number,Koha-Auth-Number:n
-melm 607$9      Koha-Auth-Number,Koha-Auth-Number:n
-melm 610$9      Koha-Auth-Number,Koha-Auth-Number:n
-melm 630$9      Koha-Auth-Number,Koha-Auth-Number:n
-melm 631$9      Koha-Auth-Number,Koha-Auth-Number:n
-melm 632$9      Koha-Auth-Number,Koha-Auth-Number:n
-melm 633$9      Koha-Auth-Number,Koha-Auth-Number:n
-melm 634$9      Koha-Auth-Number,Koha-Auth-Number:n
-melm 635$9      Koha-Auth-Number,Koha-Auth-Number:n
-melm 636$9      Koha-Auth-Number,Koha-Auth-Number:n
+melm 600$9      Koha-Auth-Number,Koha-Auth-Number:p,Koha-Auth-Number:n
+melm 601$9      Koha-Auth-Number,Koha-Auth-Number:p,Koha-Auth-Number:n
+melm 602$9      Koha-Auth-Number,Koha-Auth-Number:p,Koha-Auth-Number:n
+melm 603$9      Koha-Auth-Number,Koha-Auth-Number:p,Koha-Auth-Number:n
+melm 604$9      Koha-Auth-Number,Koha-Auth-Number:p,Koha-Auth-Number:n
+melm 605$9      Koha-Auth-Number,Koha-Auth-Number:p,Koha-Auth-Number:n
+melm 606$9      Koha-Auth-Number,Koha-Auth-Number:p,Koha-Auth-Number:n
+melm 607$9      Koha-Auth-Number,Koha-Auth-Number:p,Koha-Auth-Number:n
+melm 610$9      Koha-Auth-Number,Koha-Auth-Number:p,Koha-Auth-Number:n
+melm 630$9      Koha-Auth-Number,Koha-Auth-Number:p,Koha-Auth-Number:n
+melm 631$9      Koha-Auth-Number,Koha-Auth-Number:p,Koha-Auth-Number:n
+melm 632$9      Koha-Auth-Number,Koha-Auth-Number:p,Koha-Auth-Number:n
+melm 633$9      Koha-Auth-Number,Koha-Auth-Number:p,Koha-Auth-Number:n
+melm 634$9      Koha-Auth-Number,Koha-Auth-Number:p,Koha-Auth-Number:n
+melm 635$9      Koha-Auth-Number,Koha-Auth-Number:p,Koha-Auth-Number:n
+melm 636$9      Koha-Auth-Number,Koha-Auth-Number:p,Koha-Auth-Number:n
 
 melm 600$a		Personal-name,Personal-name:p,Subject,Subject:p
 melm 600		Subject,Subject:p
diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-authoritiessearchresultlist.tmpl b/koha-tmpl/opac-tmpl/prog/en/modules/opac-authoritiessearchresultlist.tmpl
index 24bc0f1..e967fd7 100644
--- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-authoritiessearchresultlist.tmpl
+++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-authoritiessearchresultlist.tmpl
@@ -55,7 +55,7 @@
 						</td>
 					<!-- TMPL_UNLESS name="isEDITORS" -->
 						<td>
-							 <a href="/cgi-bin/koha/opac-search.pl?type=opac&amp;op=do_search&amp;idx=an,wrdl&amp;q=<!--TMPL_VAR Name="authid" -->"><!-- TMPL_VAR NAME="used" --> biblios</a>
+							 <a href="/cgi-bin/koha/opac-search.pl?type=opac&amp;op=do_search&amp;idx=an,ext&amp;q=<!--TMPL_VAR Name="authid" -->"><!-- TMPL_VAR NAME="used" --> biblios</a>
 						</td>
 					<!-- /TMPL_UNLESS -->
 						<td>
-- 
1.7.1



More information about the Koha-patches mailing list