After configuring a mapping for an oai set which uses item fields, the build_oai_sets.pl must be run with the -i flag, to embed item data in a biblio. The bug is that it's only considering the first item (by itemnumber) of the biblio, not all the items in it.
The solution is shared in the following community entry: https://lists.katipo.co.nz/public/koha/2016-April/045257.html
Did you fancy submitting that as a patch.. is this still valid in master now?
Yikes... this isn't good...
The code has changed since this was posted. I'm doing some testing of OAI sets, so I might try to see if I can reproduce this one, but I think it's probably invalid at this point.
(In reply to David Cook from comment #4) > The code has changed since this was posted. I'm doing some testing of OAI > sets, so I might try to see if I can reproduce this one, but I think it's > probably invalid at this point. any news?
(In reply to Katrin Fischer from comment #5) > (In reply to David Cook from comment #4) > > The code has changed since this was posted. I'm doing some testing of OAI > > sets, so I might try to see if I can reproduce this one, but I think it's > > probably invalid at this point. > > any news? I can't remember if I looked into this or not... In practice, I don't think I ever end up using items when building OAI sets, because it hasn't been logical for the libraries. Or rather the logic they want to use with items is too complex to work with our current mappings...