Bugzilla – Attachment 122634 Details for
Bug 27170
ILL availability should be able to display arbitrary links to related resources
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 27170: Fix bug fix
Bug-27170-Fix-bug-fix.patch (text/plain), 1.62 KB, created by
Martin Renvoize (ashimema)
on 2021-07-07 08:32:59 UTC
(
hide
)
Description:
Bug 27170: Fix bug fix
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2021-07-07 08:32:59 UTC
Size:
1.62 KB
patch
obsolete
>From 8258d8f6d8fd6626a332a9850077239a0d01824a Mon Sep 17 00:00:00 2001 >From: Andrew Isherwood <andrew.isherwood@ptfs-europe.com> >Date: Fri, 18 Jun 2021 11:10:01 +0100 >Subject: [PATCH] Bug 27170: Fix bug fix > ><sigh> This commit fixes the incorrect bug fix from the previous commit > >Signed-off-by: Holly Cooper <hc@interleaf.ie> >Signed-off-by: Barry Cannon <bc@interleaf.ie> >--- > koha-tmpl/intranet-tmpl/prog/js/ill-availability.js | 2 +- > koha-tmpl/opac-tmpl/bootstrap/js/ill-availability.js | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/js/ill-availability.js b/koha-tmpl/intranet-tmpl/prog/js/ill-availability.js >index a7da26ba1c..fd9a5845b0 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/ill-availability.js >+++ b/koha-tmpl/intranet-tmpl/prog/js/ill-availability.js >@@ -1,7 +1,7 @@ > $(document).ready(function() { > > var getLinks = function(row) { >- if (row.links && row.links.length === 0) { >+ if (!row.links || row.links.length === 0) { > return false; > } > return row.links.map(function(link) { >diff --git a/koha-tmpl/opac-tmpl/bootstrap/js/ill-availability.js b/koha-tmpl/opac-tmpl/bootstrap/js/ill-availability.js >index 9e4a57d6f4..560803fffb 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/js/ill-availability.js >+++ b/koha-tmpl/opac-tmpl/bootstrap/js/ill-availability.js >@@ -1,7 +1,7 @@ > $(document).ready(function() { > > var getLinks = function(row) { >- if (row.links && row.links.length === 0) { >+ if (!row.links || row.links.length === 0) { > return false; > } > return row.links.map(function(link) { >-- >2.20.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 27170
:
114256
|
122112
|
122113
|
122114
|
122115
|
122117
|
122167
|
122168
|
122169
|
122632
|
122633
|
122634
|
123339
|
123340
|
123341