after an authority is added/modified, go to this fresh authority (instead of authority-home)
This commit is contained in:
parent
da14df0aed
commit
83ff3a77cc
|
|
@ -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") {
|
||||
#------------------------------------------------------------------------------------------------------------------------------
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@
|
|||
<!-- TMPL_LOOP NAME="result" -->
|
||||
<tr>
|
||||
<td><!-- TMPL_VAR NAME="summary" --></td>
|
||||
<td><a href="../search.marc/search.pl?type=intranet&op=do_search&marclist=<!-- TMPL_VAR NAME="biblio_fields" -->&operator==&value=<!-- TMPL_VAR NAME="authid" -->&and_or=and&excluding=" class="button authority"><!-- TMPL_VAR NAME="used" --> biblio(s)</a></td>
|
||||
<td><a href="../search.marc/search.pl?type=intranet&op=do_search&marclist='<!-- TMPL_VAR NAME="biblio_fields" -->'&operator==&value=<!-- TMPL_VAR NAME="authid" -->&and_or=and&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…
Reference in New Issue