https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30879
--- Comment #11 from David Cook <[email protected]> --- (In reply to Nick Clemens from comment #10) > Our IDs all seem to be INT(11) in the DB - would it be reasonable to zero > pad our ids into a new column to fix the sorting? Zero padding the ID is smart thinking I reckon. In theory, we wouldn't need a new DB column. We'd just need to add something like the following to our Zebra indexing XSLT for a new custom index (e.g. Local-number-sort): <xsl:value-of select='format-number(1, "00000000000")' /> I think to update "./etc/zebradb/marc_defs/marc21/biblios/biblio-zebra-indexdefs.xsl", we'd need to update the template "handle-index-subfields" in ./etc/zebradb/xsl/koha-indexdefs-to-zebra.xsl -- You are receiving this mail because: You are the assignee for the bug. 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/
