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. Signed-off-by: Michal Denar <black23@gmail.com> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
This commit is contained in:
parent
72e2d729f2
commit
02a0f3185c
2
svc/bib
2
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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue