CStoreEditor batch_retrieve repairs collab/berick/cstore-editor-batch-retrieve-repairs
authorBill Erickson <berick@esilibrary.com>
Wed, 19 Oct 2011 17:42:16 +0000 (13:42 -0400)
committerBill Erickson <berick@esilibrary.com>
Wed, 19 Oct 2011 17:56:29 +0000 (13:56 -0400)
commit730a9071ba6ba6e30450c4e650b7afbdd17f6940
tree7a5acedd8917066661c308294f6a609cef817140
parent82ded68e36fdff10db4d76aeb3d1fe4510333b44
CStoreEditor batch_retrieve repairs

1. If the caller provides additional cstore params, like flesh,
flesh_fields, etc. make sure we only use the first component of the
search (the list of identifier values) for the cstore search.

2. Determine the identifier field from the class being retrieved instead
of hard-coding it to be "id"

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Open-ILS/src/perlmods/lib/OpenILS/Utils/CStoreEditor.pm