Bugzilla – Attachment 184707 Details for
Bug 40121
library and category not selected on the patron search
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 40121: Fix 'Cannot read properties of undefined'
Bug-40121-Fix-Cannot-read-properties-of-undefined.patch (text/plain), 1.14 KB, created by
Jonathan Druart
on 2025-07-28 08:09:04 UTC
(
hide
)
Description:
Bug 40121: Fix 'Cannot read properties of undefined'
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2025-07-28 08:09:04 UTC
Size:
1.14 KB
patch
obsolete
>From 2097fcc32d80ce45d8b3183909c27876ace94ccf Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Mon, 28 Jul 2025 10:08:34 +0200 >Subject: [PATCH] Bug 40121: Fix 'Cannot read properties of undefined' > >Same fix as > commit 7bc3b24827799bee61a6672db78e12a70ee78ccf > Bug 40344: Fix KohaTable_spec.ts > > Cannot read properties of undefined (reading 'description') >--- > t/cypress/integration/KohaTable/PatronSearch_spec.ts | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/t/cypress/integration/KohaTable/PatronSearch_spec.ts b/t/cypress/integration/KohaTable/PatronSearch_spec.ts >index 5be48831941..bffcd29580b 100644 >--- a/t/cypress/integration/KohaTable/PatronSearch_spec.ts >+++ b/t/cypress/integration/KohaTable/PatronSearch_spec.ts >@@ -147,7 +147,7 @@ describe("Filters", () => { > > cy.window().then(win => { > win.categories_map = patrons.reduce((map, p) => { >- map[p.category_id] = p.category_id; >+ map[p.category_id.toLowerCase()] = p.category_id; > return map; > }, {}); > }); >-- >2.34.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 40121
:
183167
|
183168
|
183217
|
183224
|
183225
|
184664
|
184665
|
184707
|
185001
|
185002
|
185003