LP#1879983: make patron arrival update freshness check for to-be-staged tab
authorGalen Charlton <gmc@equinoxinitiative.org>
Tue, 16 Jun 2020 21:06:56 +0000 (17:06 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Tue, 16 Jun 2020 21:06:56 +0000 (17:06 -0400)
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/perlmods/lib/OpenILS/Application/Curbside.pm

index 263e77c..a98a66f 100644 (file)
@@ -488,7 +488,7 @@ sub fetch_latest_to_be_staged {
         ]
     }]);
 
-    return md5_hex( join(',', map { join('-', $_->id(), $_->stage_staff() // '') } @$slots) );
+    return md5_hex( join(',', map { join('-', $_->id(), $_->stage_staff() // '', $_->arrival() // '') } @$slots) );
 }
 __PACKAGE__->register_method(
     method   => "fetch_latest_to_be_staged",