Bugzilla – Attachment 191650 Details for
Bug 41661
Circulation stats show "UNKNOWN VALUE" if itemtype was deleted from database
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 41661: Fix circulation stats showing "UNKNOWN VALUE" if itemtype was deleted from database
0001-Bug-41661-Fix-circulation-stats-showing-UNKNOWN-VALU.patch (text/plain), 1.37 KB, created by
Michał
on 2026-01-19 13:48:54 UTC
(
hide
)
Description:
Bug 41661: Fix circulation stats showing "UNKNOWN VALUE" if itemtype was deleted from database
Filename:
MIME Type:
Creator:
Michał
Created:
2026-01-19 13:48:54 UTC
Size:
1.37 KB
patch
obsolete
>From 7e2d690340a36e9722633ef3722dc2faca8277bf Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Micha=C5=82=20Kula?= > <148193449+miku-orb@users.noreply.github.com> >Date: Mon, 19 Jan 2026 14:47:49 +0100 >Subject: [PATCH] Bug 41661: Fix circulation stats showing "UNKNOWN VALUE" if > itemtype was deleted from database > >The patch will make it fall back to the raw item code display, instead of showing instances of cryptic "UNKNOWN VALUE". The latter is objectively more useless, while with former the user can deduce what it was and why it's missing. > >The "UNKNOWN VALUE" would be shown here: https://github.com/Koha-Community/Koha/blame/f21255ca54ac4c774eeb8f4bbd7597ec47edde87/koha-tmpl/intranet-tmpl/prog/en/modules/reports/issues_stats.tt#L155 > >The fallback is inserted at the end, to allow any of the options to fall back to raw $celvalue (with the recognition that a raw value should always be more useful than a bunch of unknown values). >--- > reports/issues_stats.pl | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/reports/issues_stats.pl b/reports/issues_stats.pl >index 9439eb8aed..af4fc29fd6 100755 >--- a/reports/issues_stats.pl >+++ b/reports/issues_stats.pl >@@ -377,6 +377,7 @@ sub calculate { > $cell{rowtitle_display} = $patron_category->description and last; > } > } >+ $cell{rowtitle_display} //= $celvalue; > push @loopline, \%cell; > } > >-- >2.52.0 >
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 41661
: 191650