We don't need to left join when we flesh fields.
Signed-off-by: Jason Stephenson <jason@sigio.com>
$copy = $editor->search_asset_copy([
{ id => $copy_id , deleted => 'f' },
{
- join => {
- acpm => {
- type => 'left',
- join => {
- bmp => { type => 'left' }
- }
- }
- },
flesh => 1,
flesh_fields => { acp => ['parts'] }
}
my $copies = $e->search_asset_copy([
{ call_number => $vol->id , deleted => 'f' },
{
- join => {
- acpm => {
- type => 'left',
- join => {
- bmp => { type => 'left' }
- }
- }
- },
flesh => 1,
flesh_fields => { acp => ['parts'] }
}