LP#1806968 Teach Vandelay to pass correct auth tracker type
authorBill Erickson <berickxx@gmail.com>
Thu, 6 Dec 2018 17:18:06 +0000 (12:18 -0500)
committerBill Erickson <berickxx@gmail.com>
Mon, 17 Dec 2018 21:58:32 +0000 (16:58 -0500)
Pass the correct value ('authority') when creating a Vandelay session
tracker entry for authority records.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jason Boyer <jboyer@library.in.gov>

Open-ILS/src/perlmods/lib/OpenILS/Application/Vandelay.pm

index 0647b33..9f11bd8 100644 (file)
@@ -909,6 +909,7 @@ sub queued_records_with_matches {
 sub create_session_tracker {
     my ($user_id, $ws_id, $key, $name, $type, $queue_id, $action, $total_acts) = @_;
     my $e = new_editor(xact => 1);
+    $type = 'authority' if $type =~ /auth/;
 
     if ($key) {
         # if other trackers exist for this key, adopt the name