https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23875 --- Comment #5 from Ere Maijala <ere.maijala@helsinki.fi> --- (In reply to Nick Clemens from comment #3)
In the mappings local-number is set as a string by default - should we change it to a number? I think in practice it will be a number, however, under ES at least I don't see why someone couldn't map local-number to 001 and manage their own control numbers with letters, so maybe string is okay as long as your numbers are built consistently?
Changing it to number would be scary, and I don't think this is really an issue. If we want to make sorting consistent, we could always left-pad the biblionumber with zeros, but I don't really like it since it wouldn't match the biblionumber field in MARC exactly. Alternatively we could have a hardcoded mapping to a numeric biblionumber field. Or make the tie-breaker sort field configurable. But since local-number gives us consistent results, I believe this is good enough for all practical purposes. -- You are receiving this mail because: You are watching all bug changes.