after an authority is added/modified, go to this fresh authority (instead of authorit...
authortipaul <tipaul>
Thu, 2 Dec 2004 16:38:23 +0000 (16:38 +0000)
committertipaul <tipaul>
Thu, 2 Dec 2004 16:38:23 +0000 (16:38 +0000)
authorities/authorities.pl
koha-tmpl/intranet-tmpl/default/en/authorities/authorities.tmpl
koha-tmpl/intranet-tmpl/default/en/authorities/searchresultlist.tmpl

index b8a5734..76e008e 100755 (executable)
@@ -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") {
 #------------------------------------------------------------------------------------------------------------------------------
index ef9e238..4f142c3 100644 (file)
@@ -14,7 +14,6 @@
                <!-- TMPL_ELSE -->
                        <input type="button" value="Add authority" onClick="Check(this.form)" accesskey="w" class="button authority">
                <!-- /TMPL_IF -->
-<!--           <a href="javascript:PopupZ3950()" class="button authority">z3950 search</a> -->
        </p>
 </div>
 
index ca52c32..de119b4 100644 (file)
@@ -42,7 +42,7 @@
                        <!-- TMPL_LOOP NAME="result" -->
                                <tr>
                                        <td><!-- TMPL_VAR NAME="summary" --></td>
-                                       <td><a href="../search.marc/search.pl?type=intranet&amp;op=do_search&amp;marclist=<!-- TMPL_VAR NAME="biblio_fields" -->&amp;operator==&amp;value=<!-- TMPL_VAR NAME="authid" -->&amp;and_or=and&amp;excluding=" class="button authority"><!-- TMPL_VAR NAME="used" --> biblio(s)</a></td>
+                                       <td><a href="../search.marc/search.pl?type=intranet&amp;op=do_search&amp;marclist='<!-- TMPL_VAR NAME="biblio_fields" -->'&amp;operator==&amp;value=<!-- TMPL_VAR NAME="authid" -->&amp;and_or=and&amp;excluding=" class="button authority"><!-- TMPL_VAR NAME="used" --> biblio(s)</a></td>
                                        <td>
                                                <a href="detail.pl?authid=<!-- TMPL_VAR NAME="authid" -->">
                                                        <img src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/fileopen.png"  width="32" hspace="0" vspace="0" border="0" alt="Authority number <!-- TMPL_VAR NAME="authid" -->" title="Authority number<!-- TMPL_VAR NAME="authid" -->">