Bugzilla – Attachment 4125 Details for
Bug 4513
Resetting framework to Default seems impossible
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
patch.txt (text/plain), 1.67 KB, created by
Marcel de Rooy
on 2011-05-16 12:49:43 UTC
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2011-05-16 12:49:43 UTC
Size:
1.67 KB
patch
obsolete
>From 43a4965eb6f6648c09b38b32eb82e22bd3c7493e Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Mon, 16 May 2011 14:11:50 +0200 >Subject: [PATCH] 4513: Resetting framework to Default seems impossible >Content-Type: text/plain; charset="utf-8" > >Test this patch by opening a biblio saved in e.g. books framework. >Change the framework in Staff Cataloging back to Default and save. >Open the biblio again and check if it really has been set to Default. >--- > cataloguing/addbiblio.pl | 4 +++- > 1 files changed, 3 insertions(+), 1 deletions(-) > >diff --git a/cataloguing/addbiblio.pl b/cataloguing/addbiblio.pl >index 7e146c0..03d9063 100755 >--- a/cataloguing/addbiblio.pl >+++ b/cataloguing/addbiblio.pl >@@ -866,6 +866,7 @@ foreach my $thisframeworkcode ( keys %$frameworks ) { > push @frameworkcodeloop, \%row; > } > $template->param( frameworkcodeloop => \@frameworkcodeloop, >+ frameworkcode => $frameworkcode||"Default", > breedingid => $breedingid ); > > # ++ Global >@@ -963,6 +964,7 @@ if ( $op eq "addbiblio" ) { > $template->param( title => $record->title() ) if ($record ne "-1" && C4::Context->preference('marcflavour') eq "usmarc"); > $template->param( > popup => $mode, >+ frameworkcode => $frameworkcode||'Default', > itemtype => $frameworkcode, > ); > output_html_with_http_headers $input, $cookie, $template->output; >@@ -1027,7 +1029,7 @@ if (C4::Context->preference("marcflavour") eq "MARC21"){ > > $template->param( > popup => $mode, >- frameworkcode => $frameworkcode, >+ frameworkcode => $frameworkcode||'Default', > itemtype => $frameworkcode, > borrowernumber => $loggedinuser > ); >-- >1.6.0.6 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 4513
:
4125