[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
Thu Aug 21 20:48:46 CEST 2014


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

simith.doliveira at inlibro.com changed:

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

--- Comment #13 from simith.doliveira at inlibro.com ---
Created attachment 31065
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=31065&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, biblioitems,
deletedbiblioitems and deleteditems
installer/data/mysql/updatedatabase.pl    - alter tables items, biblioitems,
deletedbiblioitems 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).

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


More information about the Koha-bugs mailing list