https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41932

--- Comment #15 from Marcel de Rooy <[email protected]> ---
Note: I ran touch_items with the following pref value on a production database:

8,8;; 1,4;1,4;1,4;1,4;; 1,4;1,4;1,4;; 1,4;1,4;; 1,4

We have lots of different types of callnumbers and some weird edge cases etc.
But this works fine.
The first 8;8 is a kind of no-op that does match dates in a call number and
makes that the other formats are skipped in that case. E.g. VEIL-20201010/11

The rest is going from four digit groups back to one digit group in a
callnumber. The first four digit groups in any callnumber are zero-padded to 4
positions.

1 A 12 becomes 0001_A_0012.
V II 149 1938-1939 (61) becomes V_II_0149_19381939_0061

When adding regexes to the formats, the thing becomes even more flexible.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to