Skip to content

Commit

Permalink
Revert undetected changes to with_description_classification_differing
Browse files Browse the repository at this point in the history
  • Loading branch information
nimmolo committed Jan 7, 2025
1 parent de8ef68 commit a1662cd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/models/name.rb
Original file line number Diff line number Diff line change
Expand Up @@ -510,10 +510,10 @@ class Name < AbstractModel
}
scope :with_description_classification_differing,
lambda {
joins(:descriptions).
joins(:description).
where(rank: 0..Name.ranks[:Genus]).
where(Name[:classification].
not_eq(NameDescription[:classification])).
where(NameDescription[:classification].
not_eq(Name[:classification])).
where(NameDescription[:classification].not_blank)
}
scope :by_editor,
Expand Down

0 comments on commit a1662cd

Please sign in to comment.