https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14907
PTFS Europe Sandboxes <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #174862|0 |1 is obsolete| | --- Comment #14 from PTFS Europe Sandboxes <[email protected]> --- Created attachment 174990 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=174990&action=edit Bug 14907: Sort item search by cn_sort when sorting by callnumber This patch simply intercepts a call to sort by callnumber and changes it to cn_sort To test: 1 - Add three items: barcode TEST1 callnumnber D1015.B4 1965 barcode TEST2 callnumnber D102.D3 1930 barcode TEST3 callnumnber D101.2.A8 1951 2 - Go to item search 3 - barcode is 'TEST%' 4 - Sort the results by callnumber 5 - order is TEST3,TEST1,TEST2 (or reversed depending on sort direction) 6 - Apply patch, restart_all 7 - sort again 8 - order is TEST3,TEST2,TEST1 (or reversed depending on sort direction) Signed-off-by: Gretchen Maxeiner <[email protected]> Signed-off-by: Heather Hernandez <[email protected]> -- 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/
