Bug 22034: Handle default framework for MARC view with framework
To test: - 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 Also test the "labeled MARC" view (you will need the pref viewLabeledMARC turned on) Signed-off-by: Nazlı Çetin <nazli@devinim.com.tr> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Nick Clemens <nick@bywatersolutions.com> (cherry picked from commit54e295e4c1) Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> (cherry picked from commit270138aa67) Signed-off-by: Jesse Maseto <jesse@bywatersolutions.com> (cherry picked from commit2c15a838be) Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
parent
92f5aead92
commit
5cf1296795
|
|
@ -69,8 +69,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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue