Bugzilla – Attachment 165158 Details for
Bug 8461
Block returns of withdrawn items show as 'not checked out'
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 8461: Tidy
Bug-8461-Tidy.patch (text/plain), 1.53 KB, created by
Marcel de Rooy
on 2024-04-19 09:40:40 UTC
(
hide
)
Description:
Bug 8461: Tidy
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2024-04-19 09:40:40 UTC
Size:
1.53 KB
patch
obsolete
>From fd1848682764a40e756af5fdb52ab664a815cf55 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Fri, 12 Apr 2024 11:21:07 +0000 >Subject: [PATCH] Bug 8461: Tidy >Content-Type: text/plain; charset=utf-8 > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > circ/returns.pl | 12 ++++++------ > 1 file changed, 6 insertions(+), 6 deletions(-) > >diff --git a/circ/returns.pl b/circ/returns.pl >index 8586e87805..6614237e47 100755 >--- a/circ/returns.pl >+++ b/circ/returns.pl >@@ -415,16 +415,16 @@ if ($barcode && $op eq 'cud-checkin') { > > } elsif ( C4::Context->preference('ShowAllCheckins') and !$messages->{'BadBarcode'} and !$needs_confirm and !$bundle_confirm ) { > my $duedate = 0; >- if( $issue ){ >+ if ($issue) { > my $date_due_dt = dt_from_string( $issue->date_due, 'sql' ); >- $duedate = $date_due_dt->strftime('%Y-%m-%d %H:%M'); >+ $duedate = $date_due_dt->strftime('%Y-%m-%d %H:%M'); > $input{borrowernumber} = $issue->borrowernumber; > $riborrowernumber{0} = $borrower->{'borrowernumber'}; > } >- $input{duedate} = $duedate; >- $input{not_returned} = 1; >- $returneditems{0} = $barcode; >- $riduedate{0} = $duedate; >+ $input{duedate} = $duedate; >+ $input{not_returned} = 1; >+ $returneditems{0} = $barcode; >+ $riduedate{0} = $duedate; > push( @inputloop, \%input ); > } > $template->param( privacy => $borrower->{privacy} ); >-- >2.30.2
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 8461
:
161342
|
161371
|
161372
|
162682
|
164828
|
164829
|
165157
| 165158 |
167326