Bugzilla – Attachment 181153 Details for
Bug 25015
Staff with 'Edit Iitems' permission currently can not edit Items attached to a fast add framework
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 25015: (QA follow-up) Slide together
Bug-25015-QA-follow-up-Slide-together.patch (text/plain), 1.27 KB, created by
Marcel de Rooy
on 2025-04-18 08:02:33 UTC
(
hide
)
Description:
Bug 25015: (QA follow-up) Slide together
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2025-04-18 08:02:33 UTC
Size:
1.27 KB
patch
obsolete
>From 056925d52cea4d7a871610134d1b893a0bcfea75 Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Fri, 18 Apr 2025 09:51:30 +0200 >Subject: [PATCH] Bug 25015: (QA follow-up) Slide together >Content-Type: text/plain; charset=utf-8 > >We do not need 1 or 0 here btw. We just check for true. >--- > cataloguing/additem.pl | 12 ++++-------- > 1 file changed, 4 insertions(+), 8 deletions(-) > >diff --git a/cataloguing/additem.pl b/cataloguing/additem.pl >index 4c9e3631fa..fecd4fa6a8 100755 >--- a/cataloguing/additem.pl >+++ b/cataloguing/additem.pl >@@ -144,14 +144,10 @@ my $display_order = $input->param('item_group_display_order'); > our $frameworkcode = &GetFrameworkCode($biblionumber); > > # Defining which userflag is needing according to the framework currently used >-my $fast_cataloging_mode; >-if ( defined $input->param('frameworkcode') ) { >- $fast_cataloging_mode = ( $input->param('frameworkcode') eq 'FA' ) ? 1 : 0; >-} >- >-if ( not defined $fast_cataloging_mode ) { >- $fast_cataloging_mode = ( $frameworkcode eq 'FA' ) ? 1 : 0; >-} >+my $fast_cataloging_mode = >+ defined $input->param('frameworkcode') >+ ? $input->param('frameworkcode') eq 'FA' >+ : $frameworkcode eq 'FA'; > > my ( $template, $loggedinuser, $cookie ) = get_template_and_user( > { >-- >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 25015
:
179611
|
179612
|
179896
|
181152
| 181153