Bugzilla – Attachment 37338 Details for
Bug 7480
The Basket manager is always the logged in user
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[Signed-off] Bug 7480: Don't display current logged in user as basket manager
Signed-off-Bug-7480-Dont-display-current-logged-in.patch (text/plain), 1.49 KB, created by
Marc Véron
on 2015-03-27 17:23:56 UTC
(
hide
)
Description:
[Signed-off] Bug 7480: Don't display current logged in user as basket manager
Filename:
MIME Type:
Creator:
Marc Véron
Created:
2015-03-27 17:23:56 UTC
Size:
1.49 KB
patch
obsolete
>From 7592ca0e5ba0e57f581ff4fc77d5b2b3c4592a39 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Fri, 27 Mar 2015 17:30:01 +0100 >Subject: [PATCH] [Signed-off] Bug 7480: Don't display current logged in user > as basket manager >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >The "Managed by" field displayed on creating/editing an order is always >the name of the logged in user. > >To reproduce: >1/ Log in with patron A >2/ Create a basket >3/ Create an order >4/ Log in with patron B >5/ Edit the order >6/ The "Managed by" line is "patron B" > >Test plan: >Apply the patch and confirm that the "patron A" is always the basket >manager. > >Followed test plan. Works as expected. >Signed-off-by: Marc Véron <veron@veron.ch> >--- > acqui/neworderempty.pl | 1 - > 1 file changed, 1 deletion(-) > >diff --git a/acqui/neworderempty.pl b/acqui/neworderempty.pl >index 2966e8e..6fbeab7 100755 >--- a/acqui/neworderempty.pl >+++ b/acqui/neworderempty.pl >@@ -370,7 +370,6 @@ $template->param( > firstnamesuggestedby => $suggestion->{firstnamesuggestedby}, > biblionumber => $biblionumber, > uncertainprice => $data->{'uncertainprice'}, >- authorisedbyname => $borrower->{'firstname'} . " " . $borrower->{'surname'}, > discount_2dp => sprintf( "%.2f", $bookseller->{'discount'} ) , # for display > discount => $bookseller->{'discount'}, > orderdiscount_2dp => sprintf( "%.2f", $data->{'discount'} || 0 ), >-- >1.7.10.4
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 7480
:
37332
|
37338
|
37511