Bugzilla – Attachment 5381 Details for
Bug 6861
Fast Add returns to circulation page in all cases
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed Patch
0002-Bug-6861-Fast-Add-returns-to-circ-circulation.pl-in-.patch (text/plain), 1.36 KB, created by
Ian Walls
on 2011-09-09 11:00:36 UTC
(
hide
)
Description:
Proposed Patch
Filename:
MIME Type:
Creator:
Ian Walls
Created:
2011-09-09 11:00:36 UTC
Size:
1.36 KB
patch
obsolete
>From 6a823fd5e9a0c1e6c2ef24dd682d8a136fad39d3 Mon Sep 17 00:00:00 2001 >From: Ian Walls <ian.walls@bywatersolutions.com> >Date: Fri, 9 Sep 2011 06:55:59 -0400 >Subject: [PATCH 2/2] Bug 6861: Fast Add returns to circ/circulation.pl in all cases > >If Fast Add is accessed from either the circulation homepage or cataloguing, >it should stay on the additem.pl page after saving the first item. Only when >a Fast Add is done in the middle of a circulation transaction should it redirect >back to circ/circulation.pl to complete that transaction. > >This patch adds a conditional check for a borrowernumber input param; the presense >of such implies we're in the middle of a checkout. It's absense implies we should >remain on additem.pl >--- > cataloguing/additem.pl | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/cataloguing/additem.pl b/cataloguing/additem.pl >index 275e236..0db2d2d 100755 >--- a/cataloguing/additem.pl >+++ b/cataloguing/additem.pl >@@ -422,7 +422,7 @@ if ($op eq "additem") { > undef($itemrecord); > } > } >- if ($frameworkcode eq 'FA'){ >+ if ($frameworkcode eq 'FA' && $input->param('borrowernumber')){ > my $redirect_string = 'borrowernumber=' . uri_escape($input->param('borrowernumber')) . > '&barcode=' . uri_escape($input->param('barcode')); > $redirect_string .= '&duedatespec=' . uri_escape($input->param('duedatespec')) . >-- >1.7.4.1 >
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 6861
:
5381
|
5393