kohabug 2955 (2/2) GetMarcFromKohaField now requires $framework
Failure to pass the $framework parameter by dateaccessioned.pl causes GetMarcFromKohaField to return 0,0 which breaks the value builder. The patch submitted corrects this. This patch is build against the current 3.1.x HEAD, however, this bug also affects the 3.0.x codebase and should be applied there as well. Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
This commit is contained in:
parent
e6f3fb9591
commit
f185d69ad2
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ sub plugin_javascript {
|
|||
my $date = "$year-$pmon-$pmday";
|
||||
|
||||
# find the tag/subfield mapped to items.dateaccessioned
|
||||
my ($tag,$subfield) = GetMarcFromKohaField("items.dateaccessioned");
|
||||
my ($tag,$subfield) = GetMarcFromKohaField("items.dateaccessioned","");
|
||||
my $res = "
|
||||
<script type=\"text/javascript\">
|
||||
//<![CDATA[
|
||||
|
|
Loading…
Reference in a new issue