Bugzilla – Attachment 54775 Details for
Bug 16464
If a patron has been discharged, show a message in the OPAC
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 16464: Add FIXME
Bug-16464-Add-FIXME.patch (text/plain), 1.37 KB, created by
Jonathan Druart
on 2016-08-23 13:19:21 UTC
(
hide
)
Description:
Bug 16464: Add FIXME
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2016-08-23 13:19:21 UTC
Size:
1.37 KB
patch
obsolete
>From 311ffd3b196aecf784ecf0810e879e12b2c4d525 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 23 Aug 2016 14:17:53 +0100 >Subject: [PATCH] Bug 16464: Add FIXME > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > opac/opac-discharge.pl | 2 ++ > opac/opac-user.pl | 2 ++ > 2 files changed, 4 insertions(+) > >diff --git a/opac/opac-discharge.pl b/opac/opac-discharge.pl >index 605efb7..de1ca85 100755 >--- a/opac/opac-discharge.pl >+++ b/opac/opac-discharge.pl >@@ -92,6 +92,8 @@ else { > borrowernumber => $loggedinuser, > pending => 1, > }); >+ # FIXME looks like $available is not needed >+ # If a patron is discharged he has a validated discharge available > my $available = Koha::Patron::Discharge::count({ > borrowernumber => $loggedinuser, > validated => 1, >diff --git a/opac/opac-user.pl b/opac/opac-user.pl >index 6b1d98e..3eac79f 100755 >--- a/opac/opac-user.pl >+++ b/opac/opac-user.pl >@@ -99,6 +99,8 @@ if ($debar) { > if ( $debar ne "9999-12-31" ) { > $borr->{'userdebarreddate'} = $debar; > } >+ # FIXME looks like $available is not needed >+ # If a patron is discharged he has a validated discharge available > my $available = Koha::Patron::Discharge::count({ > borrowernumber => $borrowernumber, > validated => 1, >-- >2.8.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 16464
:
54204
|
54454
|
54774
| 54775