From f9858888836fe491f02398a40df7c01b24db8502 Mon Sep 17 00:00:00 2001 From: Ere Maijala Date: Sun, 16 Sep 2018 21:39:54 +0300 Subject: [PATCH] Bug 16424: Make the svc/bib service keep the existing framework code Previously the framework code would have been reset when the record was saved, but that seems to have been a mistake. --- svc/bib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/svc/bib b/svc/bib index 5898517..1cb176e 100755 --- a/svc/bib +++ b/svc/bib @@ -80,7 +80,7 @@ sub update_bib { my $query = shift; my $biblionumber = shift; my $old_record = GetMarcBiblio({ biblionumber => $biblionumber }); - my $frameworkcode = $query->url_param('frameworkcode') // ''; + my $frameworkcode = $query->url_param('frameworkcode') // GetFrameworkCode($biblionumber); unless (defined $old_record) { print $query->header(-type => 'text/xml', -status => '404 Not Found'); return; -- 2.7.4