From: Rogan Hamby <rhamby@esilibrary.com>
Date: Fri, 19 Apr 2019 15:25:19 +0000 (-0400)
Subject: LP#1440890: add vandelay_queue to the types of containers retrieved by batch edit
X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=36795cc29fd2a32b647b7d4ffc92aa7b19888f14;p=evergreen%2Fjoelewis.git

LP#1440890: add vandelay_queue to the types of containers retrieved by batch edit

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>
---

diff --git a/Open-ILS/src/perlmods/lib/OpenILS/WWW/TemplateBatchBibUpdate.pm b/Open-ILS/src/perlmods/lib/OpenILS/WWW/TemplateBatchBibUpdate.pm
index 33d0f042f3..27a03e1107 100644
--- a/Open-ILS/src/perlmods/lib/OpenILS/WWW/TemplateBatchBibUpdate.pm
+++ b/Open-ILS/src/perlmods/lib/OpenILS/WWW/TemplateBatchBibUpdate.pm
@@ -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']]
                         )
                     )
                 }