fix default authority search in bib editor
When clicking on the '...' of an headings field in the bib editor, the authority search that popped up did not take the default search string from the bib field. Fixed by making sure that openAuth is always used to do the popup link. Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
This commit is contained in:
parent
843c5b5b2d
commit
b6d67fc984
1 changed files with 1 additions and 1 deletions
|
@ -382,7 +382,7 @@ sub create_input {
|
|||
maxlength=\"$max_length\"
|
||||
\/>
|
||||
<a href=\"#\" class=\"buttonDot\"
|
||||
onclick=\"Dopop('/cgi-bin/koha/authorities/auth_finder.pl?authtypecode=".$tagslib->{$tag}->{$subfield}->{authtypecode}."&index=$subfield_data{id}','$subfield_data{id}'); return false;\" tabindex=\"1\" title=\"Tag Editor\">...</a>
|
||||
onclick=\"openAuth(this.parentNode.getElementsByTagName('input')[1].id,'".$tagslib->{$tag}->{$subfield}->{authtypecode}."'); return false;\" tabindex=\"1\" title=\"Tag Editor\">...</a>
|
||||
";
|
||||
} else {
|
||||
$subfield_data{marc_value} =
|
||||
|
|
Loading…
Reference in a new issue