Bugzilla – Attachment 194993 Details for
Bug 41932
Allow optional zero-padding in items.cn_sort
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 41932: Pref description
Bug-41932-Pref-description.patch (text/plain), 2.24 KB, created by
Marcel de Rooy
on 2026-03-09 11:38:23 UTC
(
hide
)
Description:
Bug 41932: Pref description
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2026-03-09 11:38:23 UTC
Size:
2.24 KB
patch
obsolete
>From 0fc9e1d321c3121a6945124fea0ba7c215376ab0 Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Mon, 9 Mar 2026 11:47:03 +0100 >Subject: [PATCH] Bug 41932: Pref description >Content-Type: text/plain; charset=utf-8 > >Test plan: >Find the pref under Cataloging/Record structure. > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > .../prog/en/modules/admin/preferences/cataloguing.pref | 5 +++++ > 1 file changed, 5 insertions(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/cataloguing.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/cataloguing.pref >index e2831bcb38..1012f376db 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/cataloguing.pref >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/cataloguing.pref >@@ -217,6 +217,11 @@ Cataloging: > 1: Strip > 0: "Don't strip" > - leading and trailing whitespace characters (including spaces, tabs, line breaks and carriage returns) and inner newlines from data fields when cataloguing bibliographic and authority records. The leader and control fields will not be affected. >+ - >+ - Use the following zero-padding formats for sorting callnumbers in the generic sort routine. >+ - pref: ClassSortGenericFormats >+ - "<br><b>NOTE:</b> If the preference is empty, the generic sort routine behaves as usual. The preference may contain one or more 'zero-padding formats' separated by two semicolons (;;). Each format consists of an optional regex followed by a colon (:) as separator, and a list of one or more number pairs separated by one semicolon. A number pair consists of two numbers separated by a comma: the minimum length of a digit group in the callnumber, and the requested minimum length after zero-padding.<br>As a simple example: '^A\\s:2,4;1,3;; 1,4' allows zero-padding callnumbers starting with A and space where the first digit group of at least length 2 is zero-padded to 4 positions, and the second digit group to 3 positions; the second format allows zero-padding the first digit group in other callnumbers to 4 positions." >+ > Display: > - > - 'Separate main entry and subdivisions with ' >-- >2.39.5
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 41932
:
193984
|
194991
|
194992
| 194993