idlist => 1, order_by => { acsp => {delivered => {direction => 'desc'}} }
}]);
- return md5_hex( join(',', @$slots) );
+ return md5_hex( join(',', map { $_->id . $_->slot // '' } @$slots) );
}
__PACKAGE__->register_method(
method => "fetch_latest_delivered",
idlist => 1, order_by => { acsp => { arrival => { direction => 'desc' } } }
}]);
- return md5_hex( join(',', @$slots) );
+ return md5_hex( join(',', map { $_->id . $_->slot // '' } @$slots) );
}
__PACKAGE__->register_method(
method => "fetch_latest_arrived",
]
}]);
- return md5_hex( join(',', @$slots) );
+ return md5_hex( join(',', map { $_->id . $_->slot // '' } @$slots) );
}
__PACKAGE__->register_method(
method => "fetch_latest_staged",
]
}]);
- return md5_hex( join(',', @$slots) );
+ return md5_hex( join(',', map { $_->id . $_->slot // '' } @$slots) );
}
__PACKAGE__->register_method(
method => "fetch_latest_to_be_staged",