app/serializers/species/show_taxon_concept_serializer_cms.rb
Method cms_listing_changes
has 51 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def cms_listing_changes
MCmsListingChange.from('cms_listing_changes_mview AS listing_changes_mview').
where(
'listing_changes_mview.taxon_concept_id' => object_and_children,
'listing_changes_mview.show_in_history' => true