diff --git a/lib/MusicBrainz/Server/Controller/WS/2/Artist.pm b/lib/MusicBrainz/Server/Controller/WS/2/Artist.pm index 10dbf87a844..5bc1ce13f3e 100644 --- a/lib/MusicBrainz/Server/Controller/WS/2/Artist.pm +++ b/lib/MusicBrainz/Server/Controller/WS/2/Artist.pm @@ -59,6 +59,13 @@ sub artist_toplevel $c->model('ArtistType')->load(@artists); $c->model('Gender')->load(@artists); $c->model('Area')->load(@artists); + $c->model('Area')->load_containment(map { $_->{area} } @artists); + $c->model('Relationship')->load_subset(['area'], map { @{ $_->area->containment } } @artists); + $c->model('Area')->load_containment(map { $_->{begin_area} } @artists); + $c->model('Relationship')->load_subset(['area'], map { $_->{begin_area} } @artists); + $c->model('Relationship')->load_subset(['area'], map { @{ $_->begin_area->containment } } @artists); + $c->model('Area')->load_containment(map { $_->{end_area} } @artists); + #$c->model('Relationship')->load_subset(['area'], map { @{ $_->end_area->containment } } @artists); $c->model('Artist')->ipi->load_for(@artists); $c->model('Artist')->isni->load_for(@artists);