From 8bc0b2dd69cc995694711e6788063183a4766336 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Tue, 26 May 2020 19:01:55 -0400 Subject: [PATCH] add slot_id to various fetches Needed by the AngularJS egGrid to uniquely identify rows, as otherwise selecting one row will select them all. Signed-off-by: Galen Charlton --- Open-ILS/src/perlmods/lib/OpenILS/Application/Curbside.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/Curbside.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/Curbside.pm index 60cbf5f009..80e060a331 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Curbside.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Curbside.pm @@ -168,7 +168,7 @@ sub fetch_arrived { fulfillment_time => undef }); - $conn->respond({slot => $s, holds => $holds}); + $conn->respond({slot_id => $s->id, slot => $s, holds => $holds}); } return undef; @@ -255,7 +255,7 @@ sub fetch_staged { fulfillment_time => undef }); - $conn->respond({slot => $s, holds => $holds}); + $conn->respond({slot_id => $s->id, slot => $s, holds => $holds}); } return undef; @@ -357,7 +357,7 @@ sub fetch_to_be_staged { ($_->id => $e->retrieve_metabib_wide_display_entry( $_->bib_record)) } @$rhrr_list; - $conn->respond({slot => $s, holds => $holds, bib_data_by_hold => \%bib_data}); + $conn->respond({slot_id => $s->id, slot => $s, holds => $holds, bib_data_by_hold => \%bib_data}); } return undef; -- 2.11.0