Bug 11784 - fix displaying patron images in self checkout

I suppose this bug was introduced with Bug 10636 (patronimage should
have 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

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit 9d5fadb983)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
Marc Véron 2014-02-18 01:18:23 +01:00 committed by Fridolin Somers
parent b9af17600a
commit 8a59c43fc3
2 changed files with 2 additions and 2 deletions

View File

@ -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 -->

View File

@ -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 -->