Bugzilla – Attachment 25385 Details for
Bug 11784
Patron images broken in Self checkout
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED-OFF] Bug 11784 - Patron images broken in Self checkout
SIGNED-OFF-Bug-11784---Patron-images-broken-in-Sel.patch (text/plain), 2.39 KB, created by
Owen Leonard
on 2014-02-18 16:41:11 UTC
(
hide
)
Description:
[SIGNED-OFF] Bug 11784 - Patron images broken in Self checkout
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2014-02-18 16:41:11 UTC
Size:
2.39 KB
patch
obsolete
>From 9616981bd9f545f27a3b701f2a1ffd64215b58c8 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Marc=20V=C3=A9ron?= <veron@veron.ch> >Date: Tue, 18 Feb 2014 01:18:23 +0100 >Subject: [PATCH] [SIGNED-OFF] Bug 11784 - Patron images broken in Self > checkout >Content-Type: text/plain; charset="utf-8" > >I suppose this bug was introduced with Bug 10636 (patronimage should >habe borrowernumber as PK, not cardnumber) > >To test: >- Have a Patron with image. Configure everything to show image in SCO. >- Go to SCO and log in patron >- Image does not show up (broken link) >- Apply patch >- Test with prog, ccsr and bootstrap themes >- Image should display > >http://bugs.koha-community.org/show_bug.cgi?id=1784 >Signed-off-by: Owen Leonard <oleonard@myacpl.org> >--- > .../opac-tmpl/bootstrap/en/modules/sco/sco-main.tt | 2 +- > .../opac-tmpl/prog/en/modules/sco/sco-main.tt | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt >index f903631..e7a42e7 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt >@@ -198,7 +198,7 @@ > </div> <!-- / .span12/12 --> > [% IF ( display_patron_image ) %] > <div class="span2"> >- <img src="/cgi-bin/koha/sco/sco-patron-image.pl?cardnumber=[% cardnumber %]" alt="" /> >+ <img src="/cgi-bin/koha/sco/sco-patron-image.pl?borrowernumber=[% borrowernumber %]" alt="" /> > </div> > [% END %] > </div> <!-- / .row-fluid --> >diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/sco/sco-main.tt b/koha-tmpl/opac-tmpl/prog/en/modules/sco/sco-main.tt >index 45eb4a7..a5661d5 100644 >--- a/koha-tmpl/opac-tmpl/prog/en/modules/sco/sco-main.tt >+++ b/koha-tmpl/opac-tmpl/prog/en/modules/sco/sco-main.tt >@@ -256,7 +256,7 @@ Sorry, this self-checkout station has lost authentication. Please contact the a > [% IF ( display_patron_image ) %]</div> <!-- /yui-u first -->[% END %] > [% IF ( display_patron_image ) %] > <div class="yui-u"> >- <img src="/cgi-bin/koha/sco/sco-patron-image.pl?cardnumber=[% cardnumber %]" alt="" /> >+ <img src="/cgi-bin/koha/sco/sco-patron-image.pl?borrowernumber=[% borrowernumber %]" alt="" /> > </div> > [% END %] > </div> <!-- /yui-ge --> >-- >1.7.9.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 11784
:
25384
|
25385
|
25441