From 222d0a35ad38ce8dd84eb1b806aace77e2d658ee Mon Sep 17 00:00:00 2001 From: tipaul Date: Wed, 27 Oct 2004 08:12:11 +0000 Subject: [PATCH] jump from biblio to authority & from authority to biblio back --- MARCdetail.pl | 3 ++ .../en/authorities/searchresultlist.tmpl | 4 +-- .../default/en/catalogue/MARCdetail.tmpl | 30 +++++++++++++++++++ 3 files changed, 35 insertions(+), 2 deletions(-) diff --git a/MARCdetail.pl b/MARCdetail.pl index af24079111..e9974f785d 100755 --- a/MARCdetail.pl +++ b/MARCdetail.pl @@ -113,6 +113,9 @@ for (my $tabloop = 0; $tabloop<=10;$tabloop++) { if ($tagslib->{$field->tag()}->{$subf[$i][0]}->{isurl}) { $subfield_data{marc_value}="$subf[$i][1]"; } else { + if ($tagslib->{$field->tag()}->{$subf[$i][0]}->{authtypecode}) { + $subfield_data{authority}=$field->subfield(9); + } $subfield_data{marc_value}=$subf[$i][1]; } $subfield_data{marc_subfield}=$subf[$i][0]; diff --git a/koha-tmpl/intranet-tmpl/default/en/authorities/searchresultlist.tmpl b/koha-tmpl/intranet-tmpl/default/en/authorities/searchresultlist.tmpl index 09a8213213..ca52c32036 100644 --- a/koha-tmpl/intranet-tmpl/default/en/authorities/searchresultlist.tmpl +++ b/koha-tmpl/intranet-tmpl/default/en/authorities/searchresultlist.tmpl @@ -35,14 +35,14 @@ - + - +
SummaryUsedUsed in View Delete
&operator==&value=&and_or=&excluding=">...&operator==&value=&and_or=and&excluding=" class="button authority"> biblio(s) "> //images/fileopen.png" width="32" hspace="0" vspace="0" border="0" alt="Authority number " title="Authority number"> diff --git a/koha-tmpl/intranet-tmpl/default/en/catalogue/MARCdetail.tmpl b/koha-tmpl/intranet-tmpl/default/en/catalogue/MARCdetail.tmpl index 5d2e44522c..64ad25ebee 100644 --- a/koha-tmpl/intranet-tmpl/default/en/catalogue/MARCdetail.tmpl +++ b/koha-tmpl/intranet-tmpl/default/en/catalogue/MARCdetail.tmpl @@ -86,6 +86,9 @@ + + " class="button catalogue">Auth +

@@ -105,6 +108,9 @@ + + " class="button catalogue">Auth +

@@ -124,6 +130,9 @@ + + " class="button catalogue">Auth +

@@ -143,6 +152,9 @@ + + " class="button catalogue">Auth +

@@ -162,6 +174,9 @@ + + " class="button catalogue">Auth +

@@ -181,6 +196,9 @@ + + " class="button catalogue">Auth +

@@ -200,6 +218,9 @@ + + " class="button catalogue">Auth +

@@ -219,6 +240,9 @@ + + " class="button catalogue">Auth +

@@ -238,6 +262,9 @@ + + " class="button catalogue">Auth +

@@ -257,6 +284,9 @@ + + " class="button catalogue">Auth +

-- 2.39.5