[Koha-bugs] [Bug 12424] ddc sorting of call numbers truncates long Cutter parts

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Oct 15 18:09:15 CEST 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12424

Chris Cormack <chris at bigballofwax.co.nz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #31065|0                           |1
        is obsolete|                            |

--- Comment #16 from Chris Cormack <chris at bigballofwax.co.nz> ---
Created attachment 32364
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=32364&action=edit
Bug 12424 - ddc sorting of call numbers truncates long Cutter parts

This patch increases the cn_sort field length to 255 chars.

Modified:

C4/ClassSortRoutine.pm                    - change the hardcoded cn_sort length
to 255
installer/data/mysql/kohastructure.sql    - alter tables items and deleteditems
installer/data/mysql/updatedatabase.pl    - alter tables items and deleteditems

Testing:

Before applying the patch:
0) Select an item
1) Edit the item selected
2) Change "Full call number" option to 530 F435_1996 v2p1
3) Save changes
4) Valide 530_000000000000000_F435_1996_ (table items - cn_sort column).

After applying the patch:
5) Edit again the item selected in 0
3) Save changes
4) Valide 530_000000000000000_F435_1996_V2P1 (table items - cn_sort column).

Signed-off-by: Chris Cormack <chris at bigballofwax.co.nz>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list