Turns out that Array.includes() does not do implicit type convertions
Typical javascript...
Signed-off by: Cesar Velez <cesar.velez@equinoxinitiative.org>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
if (e.data
&& e.data.records
&& e.data.records.length
- && e.data.records.includes($scope.record_id)
+ && e.data.records.includes(Number($scope.record_id))
){ // it's for us, refresh grid!
console.log("Got broadcast from channel eg.holdings.update for records " + e.data.records);
$scope.holdings_record_id_changed($scope.record_id);