@@ -, +, @@ framework - Create a record in any framework that is not default - Search for the record in your catalog - Switch to the MARC tab - Change framework pull down to default on top - Note the page reloads and the framework stay default - Verify it works for other frameworks --- catalogue/MARCdetail.pl | 3 +-- catalogue/labeledMARCdetail.pl | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) --- a/catalogue/MARCdetail.pl +++ a/catalogue/MARCdetail.pl @@ -68,8 +68,7 @@ my $query = new CGI; my $dbh = C4::Context->dbh; my $biblionumber = $query->param('biblionumber'); $biblionumber = HTML::Entities::encode($biblionumber); -my $frameworkcode = $query->param('frameworkcode'); -$frameworkcode = GetFrameworkCode( $biblionumber ) unless ($frameworkcode); +my $frameworkcode = $query->param('frameworkcode') // GetFrameworkCode( $biblionumber ); my $popup = $query->param('popup') ; # if set to 1, then don't insert links, it's just to show the biblio --- a/catalogue/labeledMARCdetail.pl +++ a/catalogue/labeledMARCdetail.pl @@ -38,8 +38,7 @@ my $query = new CGI; my $dbh = C4::Context->dbh; my $biblionumber = $query->param('biblionumber'); $biblionumber = HTML::Entities::encode($biblionumber); -my $frameworkcode = $query->param('frameworkcode'); -$frameworkcode = GetFrameworkCode( $biblionumber ) unless ($frameworkcode); +my $frameworkcode = $query->param('frameworkcode') // GetFrameworkCode( $biblionumber ); my $popup = $query->param('popup') ; # if set to 1, then don't insert links, it's just to show the biblio --