]> 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)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 23 Jul 2024 14:58:57 +0000 (15:58 +0100)
commit033e9abc302d14b8edf83051af5b8f07c4314a61
tree48f43f38e08964c76d014a26a48ec3e0e8d2a89a
parent07b52cfad72ea33366aa7fea70daaa7efc01bc07
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>
koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt