Browse Source

after an authority is added/modified, go to this fresh authority (instead of authority-home)

3.0.x
tipaul 20 years ago
parent
commit
83ff3a77cc
  1. 2
      authorities/authorities.pl
  2. 1
      koha-tmpl/intranet-tmpl/default/en/authorities/authorities.tmpl
  3. 2
      koha-tmpl/intranet-tmpl/default/en/authorities/searchresultlist.tmpl

2
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") {
#------------------------------------------------------------------------------------------------------------------------------

1
koha-tmpl/intranet-tmpl/default/en/authorities/authorities.tmpl

@ -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>

2
koha-tmpl/intranet-tmpl/default/en/authorities/searchresultlist.tmpl

@ -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" -->">

Loading…
Cancel
Save