From 83ff3a77cce6571a7094a3209c592fba21f9fc53 Mon Sep 17 00:00:00 2001 From: tipaul Date: Thu, 2 Dec 2004 16:38:23 +0000 Subject: [PATCH] after an authority is added/modified, go to this fresh authority (instead of authority-home) --- authorities/authorities.pl | 2 +- koha-tmpl/intranet-tmpl/default/en/authorities/authorities.tmpl | 1 - .../intranet-tmpl/default/en/authorities/searchresultlist.tmpl | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/authorities/authorities.pl b/authorities/authorities.pl index b8a5734b3f..76e008e725 100755 --- a/authorities/authorities.pl +++ b/authorities/authorities.pl @@ -339,7 +339,7 @@ if ($op eq "add") { } else { ($authid) = AUTHaddauthority($dbh,$record,$authid,$authtypecode); } - print $input->redirect("authorities-home.pl"); + print $input->redirect("detail.pl?authid=$authid"); #------------------------------------------------------------------------------------------------------------------------------ } elsif ($op eq "addfield") { #------------------------------------------------------------------------------------------------------------------------------ diff --git a/koha-tmpl/intranet-tmpl/default/en/authorities/authorities.tmpl b/koha-tmpl/intranet-tmpl/default/en/authorities/authorities.tmpl index ef9e238ad4..4f142c3591 100644 --- a/koha-tmpl/intranet-tmpl/default/en/authorities/authorities.tmpl +++ b/koha-tmpl/intranet-tmpl/default/en/authorities/authorities.tmpl @@ -14,7 +14,6 @@ -

diff --git a/koha-tmpl/intranet-tmpl/default/en/authorities/searchresultlist.tmpl b/koha-tmpl/intranet-tmpl/default/en/authorities/searchresultlist.tmpl index ca52c32036..de119b49d4 100644 --- a/koha-tmpl/intranet-tmpl/default/en/authorities/searchresultlist.tmpl +++ b/koha-tmpl/intranet-tmpl/default/en/authorities/searchresultlist.tmpl @@ -42,7 +42,7 @@ - &operator==&value=&and_or=and&excluding=" class="button authority"> biblio(s) + '&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"> -- 2.39.5