Bugzilla – Attachment 104022 Details for
Bug 24043
ILL module can't show requests from more than one backend
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24043: (QA follow-up) Fix another TypeError when retriaving status name
Bug-24043-QA-follow-up-Fix-another-TypeError-when-.patch (text/plain), 1.54 KB, created by
Victor Grousset/tuxayo
on 2020-04-30 11:37:51 UTC
(
hide
)
Description:
Bug 24043: (QA follow-up) Fix another TypeError when retriaving status name
Filename:
MIME Type:
Creator:
Victor Grousset/tuxayo
Created:
2020-04-30 11:37:51 UTC
Size:
1.54 KB
patch
obsolete
>From 5ddcb86b9e0c9f657f237e8a1818dd011122c543 Mon Sep 17 00:00:00 2001 >From: Josef Moravec <josef.moravec@gmail.com> >Date: Thu, 30 Apr 2020 11:29:56 +0000 >Subject: [PATCH] Bug 24043: (QA follow-up) Fix another TypeError when > retriaving status name > >Test plan: >1) Apply first patch, and have the same requests as in previous patch >test plan >2) Load ill requests list >2a) You can see another TypeError in console >2b) You can notice, the Placed on and Updated on columns have prepended >another columns with unformatted dates and without header label >3) Apply this patch >4) Reload page (be sure it is not loaded from cache - Ctrl+F5) >5) Errors from 2a and 2b are gone > >Signed-off-by: Josef Moravec <josef.moravec@gmail.com> >Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net> >--- > koha-tmpl/intranet-tmpl/prog/js/ill-list-table.js | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/js/ill-list-table.js b/koha-tmpl/intranet-tmpl/prog/js/ill-list-table.js >index a6ec83c02b..d20b26bf6e 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/ill-list-table.js >+++ b/koha-tmpl/intranet-tmpl/prog/js/ill-list-table.js >@@ -32,7 +32,7 @@ $(document).ready(function() { > resolvedName = row.status_alias.lib; > } else { > resolvedName = getStatusName( >- oData[0].capabilities[row.status].name, >+ row.capabilities[row.status].name, > row > ); > } >-- >2.26.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 24043
:
97297
|
104017
|
104020
|
104021
| 104022