[Archivesspace_Users_Group] sorting by identifier
Christine Di Bella
christine.dibella at lyrasis.org
Mon Sep 19 15:21:05 EDT 2016
Hi Michael,
Would you explain what is problematic about this for you? Is the concern with how they're sorting?
If so, the identifier fields in the Accession and Resource modules of ArchivesSpace each consist of 4 component blocks to facilitate setting default values for a portion of the identifier as well as for sorting by identifier overall - you can use just one of these blocks or more than one. These fields store alphanumeric values so you need to use leading zeros before numbers if you want the values to sort in strict numerical order. If your highest number is a four-digit number, all you numbers should employ leading zeros as necessary to make them four-digit numbers. So, for your example:
A&M.0002
A&M.0003
A&M.2100
would provide the sort of the number portion in the order you're likely wanting. (If it were me, I were probably put A&M in the first identifier block and the number portion in the second block, but that's not strictly necessary.) Depending on the volume of records involved, this kind of data cleanup might be done outside ArchivesSpace pre-EAD import or within ArchiveSpace post-import.
If it's a different issue that you're pointing out, please let us know.
Christine
Christine Di Bella
Community Outreach Manager
christine.dibella at lyrasis.org<mailto:christine.dibella at lyrasis.org>
800.999.8558 x2905
678-235-2905
cdibella13 (Skype)
[cid:image003.png at 01CE734E.FD759D30]
From: archivesspace_users_group-bounces at lyralists.lyrasis.org [mailto:archivesspace_users_group-bounces at lyralists.lyrasis.org] On Behalf Of Michael Ridderbusch
Sent: Monday, September 19, 2016 11:49 AM
To: archivesspace_users_group at lyralists.lyrasis.org
Subject: [Archivesspace_Users_Group] sorting by identifier
After importing xml records into ArchivesSpace,
and sorting them by identifier, the following turned up:
A&M.2
A&M.2100
A&M.3
Can this be remedied within ArchivesSpace?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20160919/1ce77c16/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 7645 bytes
Desc: image001.png
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20160919/1ce77c16/attachment.png>
More information about the Archivesspace_Users_Group
mailing list