Bugzilla – Attachment 173883 Details for
Bug 32773
Have the ability to have more than 1 Fast Add framework
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 32773: perltidy
Bug-32773-perltidy.patch (text/plain), 2.89 KB, created by
Brendan Lawlor
on 2024-11-01 17:23:56 UTC
(
hide
)
Description:
Bug 32773: perltidy
Filename:
MIME Type:
Creator:
Brendan Lawlor
Created:
2024-11-01 17:23:56 UTC
Size:
2.89 KB
patch
obsolete
>From 35b21e33eb1f2878b275c6b79229e48c31e57439 Mon Sep 17 00:00:00 2001 >From: Brendan Lawlor <blawlor@clamsnet.org> >Date: Fri, 1 Nov 2024 17:04:12 +0000 >Subject: [PATCH] Bug 32773: perltidy > >--- > cataloguing/addbiblio.pl | 14 +++++++------- > cataloguing/additem.pl | 4 ++-- > 2 files changed, 9 insertions(+), 9 deletions(-) > >diff --git a/cataloguing/addbiblio.pl b/cataloguing/addbiblio.pl >index fe34488e2c..b08918994a 100755 >--- a/cataloguing/addbiblio.pl >+++ b/cataloguing/addbiblio.pl >@@ -568,7 +568,7 @@ if ($biblionumber) { > } > } > >-if ($frameworkcode eq 'FA' || $is_fast_add){ >+if ( $frameworkcode eq 'FA' || $is_fast_add ){ > # We need to grab and set some variables in the template for use on the additems screen > $template->param( > 'circborrowernumber' => $fa_circborrowernumber, >@@ -722,7 +722,7 @@ if ( $op eq "cud-addbiblio" ) { > ( $biblionumber, $oldbibitemnum ) = AddBiblio( $record, $frameworkcode ); > } > if ($redirect eq "items" || ($mode ne "popup" && !$is_a_modif && $redirect ne "view" && $redirect ne "just_save")){ >- if ($frameworkcode eq 'FA' || $is_fast_add){ >+ if ( $frameworkcode eq 'FA' || $is_fast_add ){ > print $input->redirect( > '/cgi-bin/koha/cataloguing/additem.pl?' > .'biblionumber='.$biblionumber >@@ -860,12 +860,12 @@ if ( $record ne '-1' ) { > $template->param( title => $title ); > } > $template->param( >- popup => $mode, >- frameworkcode => $frameworkcode, >- is_fast_add => $is_fast_add, >- itemtype => $frameworkcode, >+ popup => $mode, >+ frameworkcode => $frameworkcode, >+ is_fast_add => $is_fast_add, >+ itemtype => $frameworkcode, > borrowernumber => $loggedinuser, >- tab => scalar $input->param('tab') >+ tab => scalar $input->param('tab') > ); > $template->{'VARS'}->{'searchid'} = $searchid; > >diff --git a/cataloguing/additem.pl b/cataloguing/additem.pl >index 6a746c150a..25e36c0646 100755 >--- a/cataloguing/additem.pl >+++ b/cataloguing/additem.pl >@@ -189,7 +189,7 @@ $restrictededition = 0 if ( $restrictededition != 0 && C4::Context->IsSuperLibra > # In case user has fast cataloging permission (and we're in fast cataloging), editing is not restricted > $restrictededition = 0 > if ( $restrictededition != 0 >- && ($frameworkcode eq 'FA' || $is_fast_add) >+ && ( $frameworkcode eq 'FA' || $is_fast_add ) > && haspermission( $uid, { 'editcatalogue' => 'fast_cataloging' } ) ); > > our $tagslib = &GetMarcStructure( 1, $frameworkcode ); >@@ -489,7 +489,7 @@ if ( $op eq "cud-additem" ) { > undef($current_item); > } > } >- if ( ($frameworkcode eq 'FA' || $is_fast_add) && $fa_circborrowernumber ) { >+ if ( ( $frameworkcode eq 'FA' || $is_fast_add ) && $fa_circborrowernumber ) { > print $input->redirect( '/cgi-bin/koha/circ/circulation.pl?' > . 'borrowernumber=' > . $fa_circborrowernumber >-- >2.39.5
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 32773
:
173401
|
173417
|
173878
|
173879
|
173880
|
173881
|
173882
|
173883
|
173954
|
173955
|
173956
|
173957
|
173958
|
173959
|
173960
|
173961
|
174028
|
174029
|
174030
|
174031
|
174032
|
174033
|
174034
|
174035