LP#1440890: add vandelay_queue to the types of containers retrieved by batch edit
authorRogan Hamby <rhamby@esilibrary.com>
Fri, 19 Apr 2019 15:25:19 +0000 (11:25 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Thu, 23 May 2019 21:37:56 +0000 (17:37 -0400)
To test
-------
[1] Perform a batch bibliographic record import, then add the import
    queue to a new bucket.
[2] In the web staff client, go to Cataloging | Batch Edit.
[3] Note that the bucket created in step 1 does _not_ appear in the
    bucket selector on the batch edit page.
[4] In the web staff client, go to the record bucket and hit the
    Batch edit button.
[5] Note that the bucket created in step 1 does _not_ appear in the
    bucket selector on the batch edit page.
[6] Apply the patch and repeat steps 2-3. This time, the bucket
    should appear in the selector.
[7] Repeat steps 4-5. This time, the bucket should appear in the selector
    (and be the active choice).

Signed-off-by: Rogan Hamby <rhamby@esilibrary.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/perlmods/lib/OpenILS/WWW/TemplateBatchBibUpdate.pm

index 33d0f04..27a03e1 100644 (file)
@@ -421,7 +421,7 @@ sub show_template {
                 { data : cbreb.toStoreData(
                         fieldmapper.standardRequest(
                             ['open-ils.actor','open-ils.actor.container.retrieve_by_class.authoritative'],
-                            [u.authtoken, u.user.id(), 'biblio', 'staff_client']
+                            [u.authtoken, u.user.id(), 'biblio', ['staff_client','vandelay_queue']]
                         )
                     )
                 }