]> git.koha-community.org Git - koha.git/commit
Bug 26866: Sort items table on additem by cn_cort
authorBrendan Lawlor <blawlor@clamsnet.org>
Mon, 22 Jul 2024 18:11:11 +0000 (18:11 +0000)
committerLucas Gass <lucas@bywatersolutions.com>
Wed, 28 Aug 2024 20:08:14 +0000 (20:08 +0000)
commit413e0d5701b5fbbdcb6f70e60b6e69578129925a
tree23b8f48bac2caad47ab6c0031ee3495eeb3fc13c
parente4f07f12ea39c4cf4180c8289cfaaf6b7cea62cc
Bug 26866: Sort items table on additem by cn_cort

This patch changes the data-order attribute for the item callnumber column
to use the item's cn_sort instead of the callnumber value.

Test plan:
1. Create a bib
2. Add three items with source of classification LLC
    call numbers:
    JC43 .G6 1890
    JC330 .F74 2000
    JC480 .R63 2006
4. On additem.pl sor the items table by 'Full call number'
5. Confirm the items are now ordered correctly by cn_sort
6. Confirm the other columns still sort correctly

Signed-off-by: Roman Dolny <roman.dolny@jezuici.pl>
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 033e9abc302d14b8edf83051af5b8f07c4314a61)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt