Skip to content

Commit

Permalink
Add missing numberOfRevisions to genre::show
Browse files Browse the repository at this point in the history
This being missing would have broken annotation history links,
but since we have no genre annotations yet, it's not been an issue.
  • Loading branch information
reosarevok committed Jun 28, 2022
1 parent 9719be2 commit bcf9e6b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/MusicBrainz/Server/Controller/Genre.pm
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ sub show : PathPart('') Chained('load') {
component_path => 'genre/GenreIndex',
component_props => {
genre => $c->stash->{genre}->TO_JSON,
numberOfRevisions => $c->stash->{number_of_revisions},
wikipediaExtract => to_json_object(
$c->stash->{wikipedia_extract}
),
Expand Down

0 comments on commit bcf9e6b

Please sign in to comment.